diff --git a/org/html_writer.go b/org/html_writer.go index 373b8bb..1a12b8b 100644 --- a/org/html_writer.go +++ b/org/html_writer.go @@ -141,6 +141,7 @@ func (w *HTMLWriter) WriteInlineBlock(b InlineBlock) { switch b.Name { case "src": lang := strings.ToLower(b.Parameters[0]) + content = w.HighlightCodeBlock(content, lang, true) w.WriteString(fmt.Sprintf("
+<h1>hello</h1>
+
+