Skip to content

Commit acbe475

Browse files
committed
support dollar math output in gfm and hugo
1 parent 9948433 commit acbe475

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/format/formats.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ function hugoFormat(): Format {
213213
},
214214
pandoc: {
215215
to: "gfm",
216-
[kHtmlMathMethod]: "webtex",
216+
[kHtmlMathMethod]: "mathjax",
217217
[kWrap]: "preserve",
218218
},
219219
formatExtras: () => {
@@ -236,7 +236,7 @@ function gfmFormat(): Format {
236236
return createFormat("md", markdownFormat(), {
237237
pandoc: {
238238
to: "gfm",
239-
[kHtmlMathMethod]: "webtex",
239+
[kHtmlMathMethod]: "mathjax",
240240
},
241241
render: {
242242
[kVariant]: "+footnotes+tex_math_dollars-yaml_metadata_block",

0 commit comments

Comments
 (0)