Developer comments?

Anonymous
Not applicable

Developer comments?

Is there a way to add comments into guided templates that don't show up in the HTML?  That is, I don't want to use an HTML comment block - instead, I want to be able to include developer-only comments to provide documentation for the various blocks and pieces.  I haven't seen anything like that in any of the documentation... Did I miss it somewhere, or is there anything undocumented that does this?

Thanks!

4 REPLIES 4
Grégoire_Miche2
Level 10

Re: Developer comments?

HI Michael,

As a Guided LP template is merely an HTML file, no, it will not be possible to insert some comment that would not be seen from the outside world.

-Greg

Anonymous
Not applicable

Re: Developer comments?

Thanks for the quick reply!  Since it's actually is more than just an HTML file (since you can insert variables and other code that Marketo replaces with real content) I was hoping there was also some way to add comments.  Too bad!  It means we'll have to document the templates in some other way, which is sort of annoying.  Oh well!  -mike

Grégoire_Miche2
Level 10

Re: Developer comments?

Hi Michael,

You would even use variables to insert some comments, but 1/ they will have to be set in an HTML comment and 2/ they will be visible in the output landing page.

-Greg

Anonymous
Not applicable

Re: Developer comments?

hrm.  yeah, not what I'm looking for.  No big deal - we store our templates in a GIT repo anyway, so we can just manage documentation in there.  Thanks!