Hi,
I have two instances of dokuwiki installed and running, both still in the be-
ginning stages: One for German teachers around the globe, and one bilingual
Chinese/English wiki containing info for musicians in Taiwan.
I would like to suggest and discuss a feature for the wiki page editor: When I
create a table with lots of columns I sometimes like to add conditional soft
hyphens (Unicode U+00AD) to long words within the cell content which, when the
page is displayed, add a hyphen and break the line only when the cell is not
wide enough for the whole word. One problem is that these soft hyphens are in-
visible until the line actually breaks so sometimes I forget where I put them.
What I'd like to discuss is if it'd be possible to make these soft hyphens vi-
sible in the editor. I could think of two ways to implement this but I don't
know which one is more practical:
(1) Add a toggle button to the toolbox that shows all non-printing characters,
like it's featured in most word processors
(2) add a new character to the wiki syntax to represent and insert soft hy-
phens. Im thinking of something like '\\' inside a word, not followed by a
space like the '\\ ' for line breaks.
Example for suggestion (2): "hy\\phe\\na\\tion" which would get displayed as
follows, with decreasing cell width:
| hyphenation | [widest cell]
| hyphena- | [wide cell]
| tion |
| hyphe- | [narrow cell]
| nation |
| hy- | [narrowest cell]
| phe- |
| na- |
| tion |
Soft hyphens really help in optimising table proportions so I hope this will
receive some feedback.
Thank you!
Axel (mO°ntan)
--
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist