Skip to content

Commit

Permalink
rafactor: using common syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Seasawher committed Apr 2, 2024
1 parent e41c6df commit 1200a7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mdgen/ConvertToMd.lean
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ private def buildBlocks (lines : List String) : List Block := Id.run do
content ++= line ++ "\n"

if content != "" then
blocks ++= [{content := content.trim, toCodeBlock := true}]
blocks ++= [{content := content.trim, toCodeBlock := toCodeBlock}]
return blocks

private def Block.toString (b : Block) : String :=
Expand Down

0 comments on commit 1200a7b

Please sign in to comment.