Skip to content

Commit

Permalink
chore: remove unused remark-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
taga3s committed Dec 22, 2024
1 parent b43cd7c commit 5a8ae9d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 36 deletions.
33 changes: 0 additions & 33 deletions app/packages/remark-emoji-name/index.ts

This file was deleted.

2 changes: 1 addition & 1 deletion app/routes/posts/md-test.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ Class08 <--> C2: Cool label
> このライブラリは、まだ開発中です。予期せぬエラーが発生する可能性があります。
> [!TIP]
> 実は、このサイトの製作者は、タピオカを人生で一度も食べたことがありません。(本当:thumbsup:
> 実は、このサイトの製作者は、タピオカを人生で一度も食べたことがありません。
3 changes: 1 addition & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import remarkGfm from 'remark-gfm'
import rehypeMomiji from './app/packages/rehype-momiji'
import remarkMomijiCodeFilename from './app/packages/remark-momiji-filename'
import rehypeMermaid from './app/packages/rehype-mermaid/rehypeMermaid'
import remarkEmojiName from './app/packages/remark-emoji-name'
import { remarkAttentionBlock } from './app/packages/remark-attention-block'
import { rehypeAttentionBlock } from './app/packages/rehype-attention-block'

Expand All @@ -26,7 +25,7 @@ export default defineConfig(() => {
ssg({ entry: "./app/server.ts" }),
mdx({
jsxImportSource: 'hono/jsx',
remarkPlugins: [remarkGfm, remarkBreaks, remarkFrontmatter, remarkMdxFrontmatter, remarkMomijiCodeFilename, remarkEmojiName, remarkAttentionBlock],
remarkPlugins: [remarkGfm, remarkBreaks, remarkFrontmatter, remarkMdxFrontmatter, remarkMomijiCodeFilename, remarkAttentionBlock],
rehypePlugins: [[rehypeMomiji, { excludeLangs: ['mermaid'] }], rehypeMermaid, rehypeAttentionBlock],
})
],
Expand Down

0 comments on commit 5a8ae9d

Please sign in to comment.