Fix LaTeX zones protection when parsing to html

This commit is contained in:
2022-05-14 09:06:33 +02:00
parent 0eda07e9a2
commit 0f57007879
5 changed files with 7 additions and 2 deletions

5
bin/README.md Normal file
View File

@@ -0,0 +1,5 @@
It's recommended to compile by yourself the binaries:
```
# in the root directory of this repository:
go build
```

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -12,7 +12,7 @@ import (
"github.com/gomarkdown/markdown/parser"
)
const version = "v0_20220513"
const version = "v0_20220514"
const directory = "blogo-input"
const defaultOutputDir = "public"
@@ -49,7 +49,7 @@ func generateHTML() {
mdExtensions := parser.NoIntraEmphasis | parser.Tables | parser.FencedCode |
parser.Autolink | parser.Strikethrough | parser.SpaceHeadings | parser.HeadingIDs |
parser.BackslashLineBreak | parser.DefinitionLists
parser.BackslashLineBreak | parser.DefinitionLists | parser.MathJax
// generate index page
indexTemplate := readFile(directory + "/" + config.IndexTemplate)