summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--helpers/content.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/helpers/content.go b/helpers/content.go
index bb547de25..4a96c5014 100644
--- a/helpers/content.go
+++ b/helpers/content.go
@@ -637,7 +637,7 @@ func getRstContent(ctx *RenderingContext) []byte {
}
jww.INFO.Println("Rendering", ctx.DocumentName, "with", path, "...")
- cmd := exec.Command(python, path, "--leave-comments")
+ cmd := exec.Command(python, path, "--leave-comments", "--initial-header-level=2")
cmd.Stdin = bytes.NewReader(cleanContent)
var out, cmderr bytes.Buffer
cmd.Stdout = &out