History log of /plugin/commonmark/src/Dokuwiki/Plugin/Commonmark/DWRenderer.php (Results 1 – 6 of 6)
Revision Date Author Comments
# 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 ...


# c73f5e4d 29-Nov-2025 Chalix <git at chalix punkt de>

Remove 'default' parameter from function 'getOption'

The underlying 'get' function from 'environment'
->'getConfiguration()'->'get()' does not have a default
parameter any 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 ...


# b0a36678 13-Oct-2022 Sungbin Jeon <clockoon@gmail.com>

first 2.0 implementation - at least no error


# 94a075ee 08-Oct-2022 Sungbin Jeon <clockoon@gmail.com>

theleague/commonmark 2.0.x compatibility matching


# 8ec9a8f2 07-Jul-2021 Sungbin Jeon <clockoon@gmail.com>

first working version