Page 1 of 1

making notes in xml - newbie question :)

Posted: Wed Oct 12, 2022 9:09 pm
by hhess
I have a long code and would like to make notes in the code for my reference, I do not want these notes to show on screen when the code is compiled. How do I do this?? Thank you!!

Re: making notes in xml - newbie question :)

Posted: Thu Oct 13, 2022 8:23 am
by Radu
Hi,

You can add an an XML comment, if you are working in the Text editing mode it looks like this:

Code: Select all

<!-- some text here -->
and it can be multi line.
If you are working in the Author mode you can press enter and choose "comment" in the content completion window.
The XML comments will not be rendered in the published output.

Regards,
Radu

Re: making notes in xml - newbie question :)

Posted: Tue Oct 25, 2022 1:07 pm
by Earl36
Hello and thank you @Radu for the tip. I'll try it out right away.