Open klmr opened 8 years ago
Yes, one currently must wrap macros in if{html}{MACRO}
. Possibly, together with if{latex}
or other \ifelse
macros (See this section of WRE]. I will probably wrap the existing macros with this, but have to think about how some of the nested macros will work.
What happens when the help is not rendered to HTML but rather to PDF or troff/text? If I am reading the code correctly, the contents of the tag will then just be echoed verbatim, which probably isn’t very useful. Does it make more sense to hide the content? Or maybe the document writer should be able to provide a fallback.