diff --git a/rc/core/doc.kak b/rc/core/doc.kak index b6a21671f..f19dfed05 100644 --- a/rc/core/doc.kak +++ b/rc/core/doc.kak @@ -94,7 +94,7 @@ define-command -params 1 -hidden doc-render %{ doc-parse-anchors # Join paragraphs together - try %{ execute-keys -draft \%S \n{2,}|(?<=\+)\n|^[^\n]+::\n ^-{2,}(\n|\z) S\n\z \n } + try %{ execute-keys -draft \%S \n{2,}|(?<=\+)\n|^[^\n]+::\n|\n\h*[-*] ^-{2,}(\n|\z) S\n\z \n } # Remove some line end markers try %{ execute-keys -draft \%s \h*(\+|:{2,})$ d }