okami.mom/glamour
git clone https://git.nkp.pet/okami.mom/glamour
cf874d7
main
1package main 2 3import ( 4"fmt" 5 6"charm.land/glamour/v2" 7) 8 9func main () { 10in := `# Hello World 11 12This is a simple example of Markdown rendering with Glamour! 13Check out the [other examples](https://github.com/charmbracelet/glamour/tree/master/examples) too. 14 15Bye! 16` 17 18out ,_ := glamour .Render (in ,"dark" ) 19fmt .out ) 20}