Compare commits

..

2 Commits

@ -64,6 +64,9 @@ docker-run:
.PHONY: install-deps .PHONY: install-deps
install-deps: install-deps:
npm install npm install
.PHONY: install-test-deps
install-test-deps:
pip install -r src/python/requirements.txt pip install -r src/python/requirements.txt
.PHONY: run .PHONY: run

1102
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -5,7 +5,7 @@
"github-markdown-css": "^4.0.0", "github-markdown-css": "^4.0.0",
"jquery": "^3.5.0", "jquery": "^3.5.0",
"mathjax": "^3.1.2", "mathjax": "^3.1.2",
"mermaid": "^9.1.2", "mermaid": "^8.9.0",
"rollup": "^2.38.5" "rollup": "^2.38.5"
} }
} }

@ -27,7 +27,7 @@ func init() {
bmPolicy.AllowElements("style") bmPolicy.AllowElements("style")
bmPolicy.AllowAttrs("checked", "disabled", "type").OnElements("input") bmPolicy.AllowAttrs("checked", "disabled", "type").OnElements("input")
bmPolicy.AllowAttrs("width", "height", "align").OnElements("img") bmPolicy.AllowAttrs("width", "height", "align").OnElements("img")
bmPolicy.AllowAttrs("style", "class", "align").OnElements("span", "p", "div", "a") bmPolicy.AllowAttrs("style", "class", "align").OnElements("span", "p", "div", "a", "table", "tr", "td", "th")
md = goldmark.New( md = goldmark.New(
goldmark.WithExtensions(extension.GFM), goldmark.WithExtensions(extension.GFM),
goldmark.WithExtensions(mathjax.MathJax), goldmark.WithExtensions(mathjax.MathJax),

Loading…
Cancel
Save