Skip to content

Commit

Permalink
feat: enable maths
Browse files Browse the repository at this point in the history
  • Loading branch information
HEIGE-PCloud committed May 2, 2024
1 parent 4d1ebe3 commit 67aeb4f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
7 changes: 6 additions & 1 deletion config/_default/markup.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ verbose = false
workingFolderCurrent = false
[asciidocExt.attributes]
[goldmark]
[markup.goldmark.extensions]
[goldmark.extensions]
definitionList = true
footnote = true
linkify = true
Expand All @@ -21,6 +21,11 @@ strikethrough = true
table = true
taskList = true
typographer = true
[goldmark.extensions.passthrough]
enable = true
[goldmark.extensions.passthrough.delimiters]
block = [['\[', '\]']]
inline = [['\(', '\)']]
[goldmark.parser]
autoHeadingID = true
autoHeadingIDType = 'github'
Expand Down
10 changes: 10 additions & 0 deletions config/_default/params.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version = "0.3.X"
[page]
[page.math]
enable = true
blockLeftDelimiter = "\\["
blockRightDelimiter = "\\]"
inlineLeftDelimiter = "\\("
inlineRightDelimiter = "\\)"
copyTex = true
mhchem = true

0 comments on commit 67aeb4f

Please sign in to comment.