Compare commits
1 Commits
feature/dr
...
dependabot
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
74308ff082 |
10
.drone.yml
10
.drone.yml
@@ -1,10 +0,0 @@
|
||||
kind: pipeline
|
||||
type: docker
|
||||
name: greeting
|
||||
|
||||
steps:
|
||||
- name: en
|
||||
image: alpine
|
||||
commands:
|
||||
- echo hello world
|
||||
|
||||
3
Makefile
3
Makefile
@@ -64,9 +64,6 @@ 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
|
||||
|
||||
@@ -3,14 +3,14 @@ module github.com/isoron/notes
|
||||
go 1.12
|
||||
|
||||
require (
|
||||
github.com/gin-contrib/multitemplate v0.0.0-20190528082104-30e424939505
|
||||
github.com/davecgh/go-spew v1.1.1 // indirect
|
||||
github.com/gin-contrib/sse v0.1.0 // indirect
|
||||
github.com/gin-gonic/gin v1.4.0
|
||||
github.com/jcelliott/lumber v0.0.0-20160324203708-dd349441af25
|
||||
github.com/kr/pretty v0.1.0 // indirect
|
||||
github.com/litao91/goldmark-mathjax v0.0.0-20200921072530-4c5dae64834a
|
||||
github.com/mattn/go-isatty v0.0.8 // indirect
|
||||
github.com/microcosm-cc/bluemonday v1.0.3
|
||||
github.com/microcosm-cc/bluemonday v1.0.5
|
||||
github.com/schollz/versionedtext v0.0.0-20180523061923-d8ce0957c254
|
||||
github.com/ugorji/go v1.1.7 // indirect
|
||||
github.com/yuin/goldmark v1.3.1
|
||||
|
||||
@@ -5,8 +5,6 @@ github.com/chris-ramon/douceur v0.2.0/go.mod h1:wDW5xjJdeoMm1mRt4sD4c/LbF/mWdEpR
|
||||
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
|
||||
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
|
||||
github.com/gin-contrib/multitemplate v0.0.0-20190528082104-30e424939505 h1:ooJvd+PTXxaHDJBP++saAcxinwBbOW/YJR7N4/Twbfk=
|
||||
github.com/gin-contrib/multitemplate v0.0.0-20190528082104-30e424939505/go.mod h1:2tmLQ8sVzr2XKwquGd7zNq3zB6fGyjJL+47JoxoF8yM=
|
||||
github.com/gin-contrib/sse v0.0.0-20190301062529-5545eab6dad3/go.mod h1:VJ0WA2NBN22VlZ2dKZQPAPnyWw5XTlK1KymzLKsr59s=
|
||||
github.com/gin-contrib/sse v0.1.0 h1:Y/yl/+YNO8GZSjAhjMsSuLt29uWRFHdHYUb5lYOV9qE=
|
||||
github.com/gin-contrib/sse v0.1.0/go.mod h1:RHrZQHXnP2xjPF+u1gW/2HnVO7nvIa9PG3Gm+fLHvGI=
|
||||
@@ -30,8 +28,8 @@ github.com/litao91/goldmark-mathjax v0.0.0-20200921072530-4c5dae64834a/go.mod h1
|
||||
github.com/mattn/go-isatty v0.0.7/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
|
||||
github.com/mattn/go-isatty v0.0.8 h1:HLtExJ+uU2HOZ+wI0Tt5DtUDrx8yhUqDcp7fYERX4CE=
|
||||
github.com/mattn/go-isatty v0.0.8/go.mod h1:Iq45c/XA43vh69/j3iqttzPXn0bhXyGjM0Hdxcsrc5s=
|
||||
github.com/microcosm-cc/bluemonday v1.0.3 h1:EjVH7OqbU219kdm8acbveoclh2zZFqPJTJw6VUlTLAQ=
|
||||
github.com/microcosm-cc/bluemonday v1.0.3/go.mod h1:8iwZnFn2CDDNZ0r6UXhF4xawGvzaqzCRa1n3/lO3W2w=
|
||||
github.com/microcosm-cc/bluemonday v1.0.5 h1:cF59UCKMmmUgqN1baLvqU/B1ZsMori+duLVTLpgiG3w=
|
||||
github.com/microcosm-cc/bluemonday v1.0.5/go.mod h1:8iwZnFn2CDDNZ0r6UXhF4xawGvzaqzCRa1n3/lO3W2w=
|
||||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd h1:TRLaZ9cD/w8PVh93nsPXa1VrQ6jlwL5oN8l14QlcNfg=
|
||||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
|
||||
github.com/modern-go/reflect2 v1.0.1 h1:9f412s+6RmYXLWZSEzVVgPGK7C2PphHj5RJrvfx9AWI=
|
||||
|
||||
@@ -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", "table", "tr", "td", "th")
|
||||
bmPolicy.AllowAttrs("style", "class", "align").OnElements("span", "p", "div", "a")
|
||||
md = goldmark.New(
|
||||
goldmark.WithExtensions(extension.GFM),
|
||||
goldmark.WithExtensions(mathjax.MathJax),
|
||||
|
||||
Reference in New Issue
Block a user