Chris--S / dokuwiki-plugin-xbr

Dokuwiki renderer replacement which preserves line-breaks present in the wiki text.
3 stars 1 forks source link

Multiple line break option? #1

Open ghost opened 5 years ago

ghost commented 5 years ago

Could you implement an option in Configuration settings to preserve multiple linebreaks instead of just single linebreaks?

Chris--S commented 5 years ago

This plugin will translate any line break that survives other DokuWiki syntax into
. It translates them individually, so if it sees 2 or 3 line breaks, it will translate them all. I guess if your not seeing multiple line breaks come through, some other DokuWiki syntax has grabbed them.

On 30 Oct 2018, at 19:23, Aidolii notifications@github.com wrote:

Could you implement an option in Configuration settings to preserve multiple linebreaks instead of just single linebreaks?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

ghost commented 5 years ago

But it says in the documentation for XBR...

Note, the plugin does not preserve multiple consecutive line breaks, but it will preserve single line breaks.

On this page: https://www.dokuwiki.org/plugin:xbr

And it does work this way, too.

Chris--S commented 5 years ago

That will be why, and it’s not something that could be altered without breaking the rest of DokuWiki or radically changing how the plugin works.

On 31 Oct 2018, at 04:54, Aidolii notifications@github.com wrote:

But it says in the documentation for XBR...

Note, the plugin does not preserve multiple consecutive line breaks, but it will preserve single line breaks. On this page: https://www.dokuwiki.org/plugin:xbr

And it does work this way, too.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.