Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 1.08 KB

README.md

File metadata and controls

28 lines (17 loc) · 1.08 KB

🪄 html2htpy vscode extension

This VSCode extension allows you to convert selected HTML text into htpy format using the html2htpy command-line tool. Simply select the HTML code in the editor, run the command, and the extension will replace the selected text with the generated htpy code.

Usage

Install extension from vscode marketplace.

Select the HTML code in the editor, open vscode command palette and search for html2htpy and the extension will replace the selected text with the generated htpy code.

demo

Settings

This extention expects html2htpy to be in your $PATH environment variable. If not, you can specify the full path to the executable in the html2htpy.path vscode setting.

Add this to your settings.json:

{
  "html2htpy.path": "/path/to/html2htpy"
}

Links