[pmwiki-users] Markup proposal for non-breaking hyphen and non-breaking space
Robert Riebisch
rr at bttr-software.de
Sat Jan 2 04:57:04 PST 2021
Hi!
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?
I now added this to my local/config.php:
>>><<<
## Add \- and \- markups to generate a non-breaking hyphen or a
non-breaking space.
## See
<https://www.chiark.greenend.org.uk/~sgtatham/halibut/halibut-1.2/input.html#input-nonbreaking>.
Markup('\-', 'inline', '/\\\-/', '‑');
Markup('\_', 'inline', '/\\\_/', ' ');
>>><<<
Cheers,
Robert
--
+++ BTTR Software +++
Home page: https://www.bttr-software.de/
DOS ain't dead: https://www.bttr-software.de/forum/
More information about the pmwiki-users
mailing list