| #
0f46309a |
| 29-Nov-2025 |
Chalix <git at chalix punkt de> |
Register 'commonmark/hard_break' as an custom option
So we have all the default parameters in one place, and not hidden within the renderer function. Also adapt the 'getOption' function such that it
Register 'commonmark/hard_break' as an custom option
So we have all the default parameters in one place, and not hidden within the renderer function. Also adapt the 'getOption' function such that it is able to retrieve both, leage-commonmark options as well as our custom registered commonmark options.
show more ...
|
| #
04daf66e |
| 31-Jul-2023 |
Adrien Beau <abe.github@zerty.xyz> |
Fix spurious spaces around inline elements
Without this fix, the code adds a block separator after each element, which translates to a space before and after each element, including bold, italics, e
Fix spurious spaces around inline elements
Without this fix, the code adds a block separator after each element, which translates to a space before and after each element, including bold, italics, etc. This is especially visible when the element is followed by punctuation.
The fix makes the code only add a block separator after block elements.
show more ...
|