Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Add GitHub Flavored Markdown features
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelmeuli committed Apr 28, 2020
1 parent 622984a commit a8c9ae6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions render.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ import (
"github.com/buildkite/terminal-to-html"
"github.com/yuin/goldmark"
highlighting "github.com/yuin/goldmark-highlighting"
"github.com/yuin/goldmark/extension"
)

// Enable syntax highlighting in Markdown
var markdownParser = goldmark.New(
goldmark.WithExtensions(
extension.GFM,
highlighting.NewHighlighting(
highlighting.WithFormatOptions(
htmlFormatter.WithClasses(true),
Expand Down

0 comments on commit a8c9ae6

Please sign in to comment.