Fix LaTeX zones protection when parsing to html
arnaucube git@arnaucube.com
Sat, 14 May 2022 09:06:33 +0200
5 files changed,
7 insertions(+),
2 deletions(-)
A
bin/README.md
@@ -0,0 +1,5 @@
+It's recommended to compile by yourself the binaries: +``` +# in the root directory of this repository: +go build +```
M
main.go
→
main.go
@@ -12,7 +12,7 @@ "github.com/gomarkdown/markdown"
"github.com/gomarkdown/markdown/parser" ) -const version = "v0_20220513" +const version = "v0_20220514" const directory = "blogo-input" const defaultOutputDir = "public"@@ -49,7 +49,7 @@ fmt.Println(config)
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)