Skip to content

v0.5.0

Compare
Choose a tag to compare
@muesli muesli released this 24 Jan 16:29
· 95 commits to master since this release
94148ad

Hello, Dracula

Added

  • Ship with built-in Dracula color scheme (#137)
package main

import (
        "fmt"
        "github.com/charmbracelet/glamour"
)

func main() {
        in := "# Hello World\n\nThis is a simple example of Markdown rendering with Glamour!"

        out, _ := glamour.Render(in, "dracula")
        fmt.Println(out)
}