Reza Zahedi

Articles

Explore Insights, Ideas, and Knowledge

Create Table of contents in Astro and sectionize the Markdown content

Discover how I build a dynamic table of contents component for my Astro website. This blog post included how to access headings prop in Astro layout and build a dynamic table of contents component, then sectionize the markdown content of blog posts by installing a plugin and configuring Astro markdown options.

Using NextAuth authentication provider in Next.js 13 App Router

Learn how to implement NextAuth.js authentication provider in Next.js 13 App Router and use NextAuth build-in OAuth provider like Google and Github in your app. I'll use NextAuth in server rendered pages and also client side components.