dokuwiki-plugin-data icon indicating copy to clipboard operation
dokuwiki-plugin-data copied to clipboard

Feature request: Lines starting with "#" being rendered as fieldset labels

Open hh-lohmann opened this issue 12 years ago • 1 comments

What: Rendering lines starting with "#" as a "comment" in the sense of something like a fieldset label (legend) for following entries (as well in dataentry display as in entry editor)

Why: More structure, more possibilities, more acceptance from those who should use it (if you have something like employees)

How: Putting the whole date block in a <fieldset>, when encountering a line starting with "#", then close current FIELDSET and start a new one with content after "#" as content of a LEGEND

hh-lohmann avatar Feb 10 '14 14:02 hh-lohmann

Why changing current syntax? This prevents using a # for disabling a line Is it not better to use another symbol for this feature?

edit: pardon, I see that a comment becomes a heading only if the line directly starts with a hash.

Klap-in avatar Mar 31 '14 20:03 Klap-in