Skip to content

Commit 2f50097

Browse files
committed
1 parent 70d53cf commit 2f50097

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Manual/Meta/Markdown.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def markdown : PartCommand
3333
| `(Lean.Doc.Syntax.codeblock| ``` markdown | $txt ``` ) => do
3434
let some ast := MD4Lean.parse txt.getString
3535
| throwError "Failed to parse body of markdown code block"
36-
let mut currentHeaderLevels : List (Nat × Nat) := []
36+
let mut currentHeaderLevels : Markdown.HeaderMapping := default
3737
for block in ast.blocks do
3838
currentHeaderLevels ← Markdown.addPartFromMarkdown block currentHeaderLevels
3939
| _ => Elab.throwUnsupportedSyntax

0 commit comments

Comments
 (0)