parent
9b9aedd175
commit
e49a0d2581
|
@ -104,7 +104,10 @@ define-command -params 1 -hidden doc-render %{
|
|||
doc-parse-anchors
|
||||
|
||||
# Join paragraphs together
|
||||
try %{ execute-keys -draft \%S \n{2,}|(?<=\+)\n|^[^\n]+::\n <ret> <a-K>^\h*-{2,}(\n|\z)<ret> S\n\z<ret> <a-k>\n<ret> <a-j> }
|
||||
try %{
|
||||
execute-keys -draft '%S\n{2,}|(?<=\+)\n|^[^\n]+::\n|^\h*[*-]\h+<ret>' \
|
||||
<a-K>^\h*-{2,}(\n|\z)<ret> S\n\z<ret> <a-k>\n<ret> <a-j>
|
||||
}
|
||||
|
||||
# Remove some line end markers
|
||||
try %{ execute-keys -draft \%s \h*(\+|:{2,})$ <ret> d }
|
||||
|
|
Loading…
Reference in New Issue
Block a user