Closed xiaotuanyu120 closed 2 years ago
Found the solution:
// Add blackfriday.NoEmptyLineBeforeBlock
blackfriday.Run(
[]byte(md.Content),
blackfriday.WithRenderer(r),
blackfriday.WithExtensions(blackfriday.CommonExtensions|blackfriday.NoEmptyLineBeforeBlock),
)
The Markdown Content
Expectation
But actually the output is
But it will worked if I add an empty line between the list and the sentence, just like this
Is this by design or it‘s a bug?