feat: more Markdown extensions.

This commit is contained in:
Andrey Parhomenko 2024-03-02 23:30:22 +05:00
parent 6ba3cc394e
commit 3776c1db93
2 changed files with 13 additions and 1 deletions

View file

@ -43,7 +43,8 @@ type Server struct {
func (srv *Server) makeMdParser() *parser.Parser {
return parser.NewWithExtensions(
parser.CommonExtensions | parser.AutoHeadingIDs |
parser.NoEmptyLineBeforeBlock,
parser.NoEmptyLineBeforeBlock | parser.Attributes |
parser.Tables,
)
}

View file

@ -1 +1,12 @@
{#shit .class1 .class2}
# Header
shit
teahuste| ehtua | shit
--------|-------------|--------------
cock| dick|die
```go
func main() {
}
```