3 Commits

Author SHA1 Message Date
d42b9c417e Add .drone.yml
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-11 08:10:55 -05:00
e76025eb90 Makefile: Add install-test-deps 2022-08-08 06:50:59 -05:00
9ffcf266da Allow more HTML props in tables 2022-08-08 06:50:32 -05:00
3 changed files with 14 additions and 1 deletions

10
.drone.yml Normal file
View File

@@ -0,0 +1,10 @@
kind: pipeline
type: docker
name: greeting
steps:
- name: en
image: alpine
commands:
- echo hello world

View File

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

View File

@@ -27,7 +27,7 @@ func init() {
bmPolicy.AllowElements("style")
bmPolicy.AllowAttrs("checked", "disabled", "type").OnElements("input")
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(
goldmark.WithExtensions(extension.GFM),
goldmark.WithExtensions(mathjax.MathJax),