Git clone %APPDATA%/Sublime\ Text\ 3/Packages/Sublime-HTMLPrettify Usage Git clone ~/.config/sublime-text-3/Packages/Sublime-HTMLPrettify Windows Git clone ~/Library/Application\ Support/Sublime\ Text\ 3/Packages/Sublime-HTMLPrettify Linux For example, on OS X, packages for version 2 are in ~/Library/Application\ Support/Sublime\ Text\ 2, while version 3 is labeled ~/Library/Application\ Support/Sublime\ Text\ 3. Make sure you use the right Sublime Text folder. type prettify, select HTML-CSS-JS Prettify.type install, select Package Control: Install Package.Ctrl Shift P or Cmd Shift P in Linux/Windows/OS X.The shorter way of doing this is: Through Sublime Package Manager Open it via Preferences -> Browse Packages, and copy this repository contents to the Sublime-HTMLPrettify folder there. After you've installed node.js, you will need to setup this plugin.Įach OS has a different Packages folder required by Sublime Text. Installationįirst of all, be sure you have node.js installed in order to run the beautifier. This will work with either HTML, CSS, JavaScript, JSON, React and Vue files. The formatters are written in JavaScript, so you'll need something (node.js) to interpret JavaScript code outside the browser. It uses a set of nice beautifier scripts made by Einar Lielmanis. This is a Sublime Text 2 and 3 plugin allowing you to format your HTML, CSS, JavaScript, JSON, React and Vue code. HTML, CSS, JavaScript, JSON, React and Vue code formatter for Sublime Text 2 and 3 via node.js Sublime Text 3 JS-beautify Node.js download About
0 Comments
Leave a Reply. |