Copy link to clipboard
Copied
I'm looking to hide HTML comments in the Dreamweaver code view. Sometimes I will have a lot of comments and I would like to view the code without the comments. I do not want to remove the comments, only temporarily hide them. I'm using Dreamweaver 2020.
Thanks,
Logan
There is nothing built-in to DW that hides comments. You would need to create your own extension for that.
Copy link to clipboard
Copied
There is nothing built-in to DW that hides comments. You would need to create your own extension for that.
Copy link to clipboard
Copied
If you have a server side language like PHP, you could do the following
<h1>Fancy display heading</h1>
<?php // This is a remark that will not be shown, ever ?>
<p>A nice paragraph</p>
Copy link to clipboard
Copied
PHP comments don't appear in browsers but they are displayed in DW Code View.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now