diff options
Diffstat (limited to 'markup/org')
-rw-r--r-- | markup/org/convert.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/markup/org/convert.go b/markup/org/convert.go index 2b1fbb73c..7a3ad7076 100644 --- a/markup/org/convert.go +++ b/markup/org/convert.go @@ -52,7 +52,7 @@ func (c *orgConverter) Convert(ctx converter.RenderContext) (converter.Result, e return afero.ReadFile(c.cfg.ContentFs, filename) } writer := org.NewHTMLWriter() - writer.HighlightCodeBlock = func(source, lang string) string { + writer.HighlightCodeBlock = func(source, lang string, inline bool) string { highlightedSource, err := c.cfg.Highlight(source, lang, "") if err != nil { logger.ERROR.Printf("Could not highlight source as lang %s. Using raw source.", lang) |