mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-15 19:22:52 +02:00
chore: add abbrlink
This commit is contained in:
parent
f3334d4a45
commit
19d7ba4905
6 changed files with 8 additions and 1 deletions
|
@ -5,6 +5,7 @@ import { transformerCopyButton } from '@rehype-pretty/transformers'
|
|||
import compress from 'astro-compress'
|
||||
import robotsTxt from 'astro-robots-txt'
|
||||
import { defineConfig } from 'astro/config'
|
||||
|
||||
// Rehype plugins
|
||||
import rehypeAutolinkHeadings from 'rehype-autolink-headings'
|
||||
import rehypeComponents from 'rehype-components'
|
||||
|
@ -12,6 +13,7 @@ import rehypeExternalLinks from 'rehype-external-links'
|
|||
import rehypeKatex from 'rehype-katex'
|
||||
import rehypePrettyCode from 'rehype-pretty-code'
|
||||
import rehypeSlug from 'rehype-slug'
|
||||
|
||||
// Remark plugins
|
||||
import remarkDirective from 'remark-directive'
|
||||
import remarkGithubAdmonitionsToDirectives from 'remark-github-admonitions-to-directives'
|
||||
|
@ -19,6 +21,7 @@ import remarkMath from 'remark-math'
|
|||
import remarkSectionize from 'remark-sectionize'
|
||||
import UnoCSS from 'unocss/astro'
|
||||
import { themeConfig } from './src/config.js'
|
||||
|
||||
// Local plugins
|
||||
import { AdmonitionComponent } from './src/plugins/rehype-component-admonition.js'
|
||||
import { GithubCardComponent } from './src/plugins/rehype-component-github-card.js'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue