Now type htmlprettify and select the option with the same name. Now, again go to Command Pallet, an alternate way is to go to Tools -> Command Pallet. Wait for 5-10 seconds, until the installation is complete. You can check the same in the bottom left corner of the screen shot attached. Now type prettify, and from options select HTML-CSS-JS Prettify.Īfter this, you will see that some installation is going on in your Sublime Text editor. Then again being up the Command Pallet using the same shortcut, which is Ctrl+Shift+P (Cmd+Shift+P in case of Mac).
HTML EDITOR FOR MAC SUBLIME INSTALL
Then from the options given select Package Control: Install Package This will bring up the Command Pallet as shown in the screen shot below. Press Ctrl+Shift+P (Cmd+Shift+P in case of Mac) from your keyboard. We are going to install this plugin using the Sublime Package Manager.Īfter opening the Sublime Text editor. So, if you are trying to write your HTML using Sublime Text editor then follow these steps to integrate a HTML formatter plugin. Sublime Text is a sophisticated text editor for code, markup and prose. In this article, we have covered a step by step process on how can you implement a HTML formatter in Sublime Text and VS code using some simple plugins. One tool that can help you in this is known as the HTML Formatter. Thus, it is extremely essential to adhere to these rules. These things that require the basic formatting may improve code readability for other users. These things include:Īnd many more things. To write better HTML, certain things needs to be kept in mind. It controls the way that our website is going to look and what matter it is going to contain. HTML or Hypertext Markup Language helps us to write the content of our webpage. Add HTML formatter in Sublime Text and VS code using plugins