feat: add GitHub-style markdown alert support
This commit is contained in:
@@ -9,6 +9,7 @@ import rehypeExternalLinks from 'rehype-external-links'
|
||||
import rehypePrettyCode from 'rehype-pretty-code'
|
||||
import rehypeAutolinkHeadings from 'rehype-autolink-headings'
|
||||
import remarkEmoji from 'remark-emoji'
|
||||
import remarkGithubAlerts from 'remark-github-blockquote-alert'
|
||||
import remarkMath from 'remark-math'
|
||||
import remarkSectionize from 'remark-sectionize'
|
||||
import rehypeDocument from 'rehype-document'
|
||||
@@ -159,6 +160,6 @@ export default defineConfig({
|
||||
},
|
||||
],
|
||||
],
|
||||
remarkPlugins: [remarkMath, remarkEmoji, remarkSectionize],
|
||||
remarkPlugins: [remarkMath, remarkEmoji, remarkSectionize, remarkGithubAlerts],
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user