Open GoogleCodeExporter opened 9 years ago
I think we may add an other comment tag, which could insert comments like this
into the target, but if a "secret comment" with % is exported into the target
by default, it won't be secret anymore because it's possible to see the source
code of a html document!
It's also easy to use a preproc to change the default behavior, such as:
%!preproc(html): '^%(.*?)$' ''<!-- \1 -->''
Original comment by eforg...@gmail.com
on 6 Jan 2011 at 9:04
Comments in txt2tags source code were always meant to be viewed in the source
only. Sometimes it's a message, sometimes it's a huge block of deactivated
text. But it's not meant to be in the converted document. Users rely on this
behavior since version 1.0.
Eric's solution is fine, but need to be improved because it can mess with
macros like %%date at the beginning of the line.
Yes, creating a new mark for this kind of comment in output is one alternative.
Another is a setting that user can put in a file by file basis (or the global
config), like %!showcomments or something.
Original comment by aureliojargas@gmail.com
on 21 Dec 2011 at 10:18
Original issue reported on code.google.com by
fgalla...@gmail.com
on 6 Jan 2011 at 1:46