diff --git a/org/html_writer.go b/org/html_writer.go index 5918af6..e763aa7 100644 --- a/org/html_writer.go +++ b/org/html_writer.go @@ -21,6 +21,21 @@ type HTMLWriter struct { ExtendingWriter Writer HighlightCodeBlock func(source, lang string, inline bool, params map[string]string) string PrettyRelativeLinks bool + // TopLevelHLevel determines what HTML heading to use for a + // level-1 Org headline, and by extension further headings. + // + // For example, a value of 1 means a top-level Org headline will be + // rendered as an
\n%s\n
\n