Output markdown to terminal
output := mdterm.Run(input)
fmt.Println(string(output))
With options:
output := mdterm.Run(input,
mdterm.WithColor("magenta"),
mdterm.WithHeadingStyle(true, 2),
)
fmt.Println(string(output))
- heading
- sharp style
- underline style
- emphasis
- bold
- italic
- strikethrough
- link
- link
- image
- block
- blockquote
- source code
- syntax highlight
- list
- unordered list
- ordered list
- definition list
- table
- simple table
- with align
- with inline styling
- without outer pipe