Next.js 13 App Router #4 - Работа с Markdown и MDX

Опубликовано: 13 Октябрь 2024
на канале: easydev
5,027
137

#nextjs13 #markdown #mdx

00:00 Что такое markdown и MDX
3:44 Плагин next-mdx-remote
11:47 Rehype, Remark и unified
16:01 rehype-slug
17:33 rehype-autolink-headings
19:10 remark-directive
24:57 AST
25:58 Добавляем react компонент в markdown
29:09 Получаем mdx из удалённого источника

Repo: https://github.com/easydevgit/next-13...

Ссылки из ролика:
https://github.com/rehypejs/rehype-slug
https://github.com/rehypejs/rehype-au...
https://github.com/remarkjs/remark-di...
https://unifiedjs.com/learn/guide/int...