backwards compatibility

This commit is contained in:
chyzman
2026-08-28 21:58:19 -04:00
parent fe40fca356
commit 9b3b69ef23
10 changed files with 230 additions and 56 deletions
+3 -1
View File
@@ -16,6 +16,7 @@ import taskList from 'comark/plugins/task-list'
import { visitAsync } from 'comark/utils'
import { modrinthEmbedSyntax } from './embeds'
import { modrinthHtmlBlock } from './html-block'
import { modrinthResolveMedia } from './media'
import { modrinthSecurity } from './security'
@@ -44,6 +45,7 @@ export const modrinthPlugins: ComarkPlugin[] = [
// frontmatter()
// heading()
html(),
modrinthHtmlBlock(),
// json-render()
// math(), // needs dep
// mermaid(), // needs dep
@@ -53,7 +55,7 @@ export const modrinthPlugins: ComarkPlugin[] = [
modrinthResolveMedia(),
modrinthSecurity(),
// shiki(), // needs dep + we have highlight.js
// summary() // irrelevant
// summary(), //TODO
taskList(),
// toc() // would be cool to have but would need heavy changes to project pages
]