mirror of
https://github.com/arnaucube/blogo.git
synced 2026-02-06 19:36:39 +01:00
Fix LaTeX zones protection when parsing to html
This commit is contained in:
5
bin/README.md
Normal file
5
bin/README.md
Normal 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.
4
main.go
4
main.go
@@ -12,7 +12,7 @@ import (
|
|||||||
"github.com/gomarkdown/markdown/parser"
|
"github.com/gomarkdown/markdown/parser"
|
||||||
)
|
)
|
||||||
|
|
||||||
const version = "v0_20220513"
|
const version = "v0_20220514"
|
||||||
const directory = "blogo-input"
|
const directory = "blogo-input"
|
||||||
const defaultOutputDir = "public"
|
const defaultOutputDir = "public"
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ func generateHTML() {
|
|||||||
|
|
||||||
mdExtensions := parser.NoIntraEmphasis | parser.Tables | parser.FencedCode |
|
mdExtensions := parser.NoIntraEmphasis | parser.Tables | parser.FencedCode |
|
||||||
parser.Autolink | parser.Strikethrough | parser.SpaceHeadings | parser.HeadingIDs |
|
parser.Autolink | parser.Strikethrough | parser.SpaceHeadings | parser.HeadingIDs |
|
||||||
parser.BackslashLineBreak | parser.DefinitionLists
|
parser.BackslashLineBreak | parser.DefinitionLists | parser.MathJax
|
||||||
|
|
||||||
// generate index page
|
// generate index page
|
||||||
indexTemplate := readFile(directory + "/" + config.IndexTemplate)
|
indexTemplate := readFile(directory + "/" + config.IndexTemplate)
|
||||||
|
|||||||
Reference in New Issue
Block a user