[pmwiki-users] Markup proposal for non-breaking hyphen and non-breaking space

Petko Yotov 5ko at 5ko.fr
Sat Jan 2 06:05:21 PST 2021


On 02/01/2021 13:57, Robert Riebisch wrote:
> I'd like to see \- (non-breaking hyphen) and \_ (non-breaking space)
> used, because spreading your pages with lots of "‑" or " "
> makes a page's source harder to read.
> 
> Or are there already other ways I didn't find?

Looks good.

Petko

> I now added this to my local/config.php:
> Markup('\-', 'inline', '/\\\-/', '‑');
> Markup('\_', 'inline', '/\\\_/', ' ');



More information about the pmwiki-users mailing list