Add callouts support

Adds a colour palette
Adds homemade remark-callouts package
Adds tabler icons dependency
This commit is contained in:
Jade Ellis
2024-07-30 18:30:15 +01:00
parent e7e311b080
commit f1977924f8
13 changed files with 1307 additions and 4 deletions
+3 -1
View File
@@ -10,6 +10,7 @@ import remarkMath from "remark-math"
// @ts-ignore
import remarkAbbr from "remark-abbr"
import remarkFootnotes from 'remark-footnotes'
import remarkCallouts from "remark-callouts";
import rehypeKatexSvelte from 'rehype-katex-svelte';
// import github from "remark-github";
@@ -343,6 +344,8 @@ const config = {
remarkMath,
remarkAbbr,
[remarkFootnotes, { inlineNotes: true }],
remarkGfm,
[remarkCallouts, {}],
[remarkWikiLink, {
// @ts-ignore
aliasDivider: "|",
@@ -353,7 +356,6 @@ const config = {
// wikiLinkClassName,
// newClassName,
}],
remarkGfm,
// [citePlugin, {
// syntax: {
// // see micromark-extension-cite