Html to Jade, Jade to HTMLInstallIn the command palette ( UsageThis command works with the currently selected text, not the entire contents of a file. Multi-select is also supported. If you want to convert an entire fall, then select all text In the command palette (
Convert HTML to JadeThis command uses the html2jade library. Convert Jade to HTMLAfter running the 'Convert Jade to HTML' command, the extension will execute the 'Format Code' command, as the result of calling the Jade library returns HTML which is not formatted according to VS Code's rules. This will only work however, if the 'Language Mode' (bottom-right in the status bar) is set to HTML (usually the case if you're eding a HTML file). You can do this manually by selecting the HTML Language mode, then pressing Known Issues
SupportCreate an issue, or ping @waynemaurer on Twitter. |