feat: more Markdown extensions.
This commit is contained in:
parent
6ba3cc394e
commit
3776c1db93
2 changed files with 13 additions and 1 deletions
|
@ -43,7 +43,8 @@ type Server struct {
|
||||||
func (srv *Server) makeMdParser() *parser.Parser {
|
func (srv *Server) makeMdParser() *parser.Parser {
|
||||||
return parser.NewWithExtensions(
|
return parser.NewWithExtensions(
|
||||||
parser.CommonExtensions | parser.AutoHeadingIDs |
|
parser.CommonExtensions | parser.AutoHeadingIDs |
|
||||||
parser.NoEmptyLineBeforeBlock,
|
parser.NoEmptyLineBeforeBlock | parser.Attributes |
|
||||||
|
parser.Tables,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1 +1,12 @@
|
||||||
|
{#shit .class1 .class2}
|
||||||
|
# Header
|
||||||
|
|
||||||
shit
|
shit
|
||||||
|
teahuste| ehtua | shit
|
||||||
|
--------|-------------|--------------
|
||||||
|
cock| dick|die
|
||||||
|
|
||||||
|
```go
|
||||||
|
func main() {
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue