Fix markdown preview

This commit is contained in:
Alex Yatskov 2024-04-09 10:39:06 -07:00
parent 81e1728958
commit f78b68592b
3 changed files with 9 additions and 12 deletions

3
go.mod
View File

@ -3,8 +3,7 @@ module git.foosoft.net/alex/mdview
go 1.21.5 go 1.21.5
require ( require (
git.foosoft.net/alex/goldsmith v0.0.0-20240407205638-818855e87539 git.foosoft.net/alex/goldsmith v0.0.0-20240409173451-0e6946b01046
git.foosoft.net/alex/goldsmith-components v0.0.0-20231231034118-3e1e204c38ac
github.com/PuerkitoBio/goquery v1.9.1 github.com/PuerkitoBio/goquery v1.9.1
github.com/fsnotify/fsnotify v1.7.0 github.com/fsnotify/fsnotify v1.7.0
github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966

6
go.sum
View File

@ -1,7 +1,5 @@
git.foosoft.net/alex/goldsmith v0.0.0-20240407205638-818855e87539 h1:PfOFxkSJUNFA7d9TW4Eq6HDze7ujQzOcU5fMf+u7RDU= git.foosoft.net/alex/goldsmith v0.0.0-20240409173451-0e6946b01046 h1:xp6AgOrBukOqcS6iWQAUPoJ0BsWcz2IxY2nZNGQKFtk=
git.foosoft.net/alex/goldsmith v0.0.0-20240407205638-818855e87539/go.mod h1:ig277iXKBJKLN9NGSmZlg5T2wWqFLgqHJyeMgrOFnlk= git.foosoft.net/alex/goldsmith v0.0.0-20240409173451-0e6946b01046/go.mod h1:ig277iXKBJKLN9NGSmZlg5T2wWqFLgqHJyeMgrOFnlk=
git.foosoft.net/alex/goldsmith-components v0.0.0-20231231034118-3e1e204c38ac h1:egK8x80D6e3iLZ/nvIxpOM35WU8ADNxPIyiCh62t7Og=
git.foosoft.net/alex/goldsmith-components v0.0.0-20231231034118-3e1e204c38ac/go.mod h1:vtSSsJmvdMC2bKblVjSGeYEofwiL8AfQ6+/OHsDUXss=
github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8= github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8=
github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ=
github.com/PuerkitoBio/goquery v1.9.1 h1:mTL6XjbJTZdpfL+Gwl5U2h1l9yEkJjhmlTeV9VPW7UI= github.com/PuerkitoBio/goquery v1.9.1 h1:mTL6XjbJTZdpfL+Gwl5U2h1l9yEkJjhmlTeV9VPW7UI=

12
main.go
View File

@ -14,12 +14,12 @@ import (
"syscall" "syscall"
"git.foosoft.net/alex/goldsmith" "git.foosoft.net/alex/goldsmith"
"git.foosoft.net/alex/goldsmith-components/filters/operator" "git.foosoft.net/alex/goldsmith/filters/operator"
"git.foosoft.net/alex/goldsmith-components/filters/wildcard" "git.foosoft.net/alex/goldsmith/filters/wildcard"
"git.foosoft.net/alex/goldsmith-components/plugins/document" "git.foosoft.net/alex/goldsmith/plugins/document"
"git.foosoft.net/alex/goldsmith-components/plugins/frontmatter" "git.foosoft.net/alex/goldsmith/plugins/frontmatter"
"git.foosoft.net/alex/goldsmith-components/plugins/livejs" "git.foosoft.net/alex/goldsmith/plugins/livejs"
"git.foosoft.net/alex/goldsmith-components/plugins/markdown" "git.foosoft.net/alex/goldsmith/plugins/markdown"
"github.com/PuerkitoBio/goquery" "github.com/PuerkitoBio/goquery"
"github.com/fsnotify/fsnotify" "github.com/fsnotify/fsnotify"
"github.com/skratchdot/open-golang/open" "github.com/skratchdot/open-golang/open"