cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Syntax for comments in a web descriptor

Solved
Occasional Contributor

Syntax for comments in a web descriptor

Hi All,

 

I have a simple question. Can I comment out multiple lines of descriptor code in MEGA? I know about \c for a single line but I have about 20 descriptors to edit and this would take a while.

 

E.G.

 

[Component]="Select etc etc etc

 [If=First]

    <h1> example</h1>

 [/If]

   <p>example</p>

[/Component]

 

How would I be able to comment out all of this without using \c on each line?

 

Thanks,

Aaron

Tags (3)
3 Replies
MEGA

Re: Syntax for comments in a web descriptor

Hello Scriv1989 

 

Unfortunalely, I am not aware of a tag to set as comment a block of code in a HTML descriptor in a HOPEX version

 

If community users have tips/work-arounds for this, please share it.

Jerome
Highlighted
MEGA Partner

Re: Syntax for comments in a web descriptor

You can de-activate a whole text object, by setting its Language setting to "Selected language only" and then not select any language. That way the code is not considered when using the descriptor. This method, however only works for an entire Text object.

 

Occasional Contributor

Re: Syntax for comments in a web descriptor

Many thanks for your replies!