Skip to main content
Participant
February 9, 2009
Answered

Pretty Print HTML Extension?

  • February 9, 2009
  • 1 reply
  • 1754 views
HTML Tidy is not a good alternative for me, even though I can use it through a couple different text editors. It messes with the code slightly. Is there an extension out there that can give me more control over the pretty-printing of HTML, and possibly do so on multiple files at once?
This topic has been closed for replies.
Correct answer Newsgroup_User
MellowCricket wrote:
> HTML Tidy is not a good alternative for me, even though I can use it through a
> couple different text editors. It messes with the code slightly. Is there an
> extension out there that can give me more control over the pretty-printing of
> HTML, and possibly do so on multiple files at once?

I assume that you mean by "pretty-printing" that you want the code formatted in a particular fashion, but if not, please do provide more about exactly what you'd like to do. If you go to Commands -> Apply Source Formatting, Dreamweaver will use the settings within the Tag Libraries to format your code. To change how the formatting occurs, go to Edit -> Tag Libraries select the tag library (such as HTML) that you want to edit and expand it to see the individual tag settings.


--
Danilo Celic
| http://blog.extensioneering.com/
| WebAssist Extensioneer
| Adobe Community Expert

1 reply

Newsgroup_UserCorrect answer
Inspiring
February 9, 2009
MellowCricket wrote:
> HTML Tidy is not a good alternative for me, even though I can use it through a
> couple different text editors. It messes with the code slightly. Is there an
> extension out there that can give me more control over the pretty-printing of
> HTML, and possibly do so on multiple files at once?

I assume that you mean by "pretty-printing" that you want the code formatted in a particular fashion, but if not, please do provide more about exactly what you'd like to do. If you go to Commands -> Apply Source Formatting, Dreamweaver will use the settings within the Tag Libraries to format your code. To change how the formatting occurs, go to Edit -> Tag Libraries select the tag library (such as HTML) that you want to edit and expand it to see the individual tag settings.


--
Danilo Celic
| http://blog.extensioneering.com/
| WebAssist Extensioneer
| Adobe Community Expert
Participant
March 9, 2018

If you dont want to use the extensions, you can use many online tools such as

https://codebeautify.org/htmlviewer

https://jsonformatter.org/html-pretty-print

Thanks,

Iris

https://hexcolorcodes.org