File tree Expand file tree Collapse file tree 4 files changed +39
-0
lines changed
cl/_testgop/domaintext-md Expand file tree Collapse file tree 4 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ module example
2+
3+ go 1.22
4+
5+ require github.com/xushiwei/markdown v0.1.0
6+
7+ require github.com/yuin/goldmark v1.7.8 // indirect
Original file line number Diff line number Diff line change 1+ github.com/xushiwei/markdown v0.1.0 h1:Vjw4MVcwSEJge9ObA/3C1lrmNYX60nJwuVKdLYrf0+o =
2+ github.com/xushiwei/markdown v0.1.0 /go.mod h1:6hyvHMBrprwcCYXaw71W9WwBX1st9r+Rfsj+cKXW3EE =
3+ github.com/yuin/goldmark v1.7.8 h1:iERMLn0/QJeHFhxSt3p6PeN9mGnvIKSpG9YYorDMnic =
4+ github.com/yuin/goldmark v1.7.8 /go.mod h1:uzxRWxtg69N339t3louHJ7+O03ezfj6PlliRlaOzY1E =
Original file line number Diff line number Diff line change 1+ import (
2+ "os"
3+
4+ "github.com/xushiwei/markdown"
5+ )
6+
7+ md := markdown`
8+ # Title
9+
10+ Hello world
11+ `
12+
13+ md.convert os.Stdout
Original file line number Diff line number Diff line change 1+ package main
2+
3+ import (
4+ "github.com/xushiwei/markdown"
5+ "os"
6+ )
7+
8+ func main () {
9+ md := markdown .New (`
10+ # Title
11+
12+ Hello world
13+ ` )
14+ md .Convert (os .Stdout )
15+ }
You can’t perform that action at this time.
0 commit comments