slipshow icon indicating copy to clipboard operation
slipshow copied to clipboard

comments

Open nilsbecker opened this issue 4 months ago • 3 comments

AFAIK markdown does not have a comment syntax. slipshow should provide one. currently one can just use {something that is not a tag} but that feels brittle. see also #110 .

nilsbecker avatar Oct 06 '25 08:10 nilsbecker

I think using HTML comments (<!-- comments -->) is good enough? Or would you prefer them not to be included in the generated html?

panglesd avatar Oct 07 '25 21:10 panglesd

I would prefer them to not be included but that's not a big deal.

Ergonomics is more important. One use case is 'commenting out' some content which might be reused again later. Typing <!-- and --> feels more work than necessary. something like {comment ...} is still better for memorization and overall consistency IMHO.

Alternatively, if comments were line-oriented, one could configure an editor to prepend e.g. % to a selection of lines with a shortcut, which would come in handy.

nilsbecker avatar Oct 09 '25 08:10 nilsbecker

HTML comments have a problem: inside an enumeration, they add a blank line. For instance with:

* bla
* bli
<!-- very important comment -->
* blo

there is a vertical space between bli and blo.

jfraymond avatar Nov 18 '25 08:11 jfraymond