vsc-snippets-html2pug
v0.1.0
Published
A tool to automatically generate VSCode Pug snippets out of HTML ones.
Downloads
4
Readme
vsc-snippets-html2pug
A tool to automatically generate VSCode Pug snippets out of HTML ones.
Installation
npm install vsc-snippets-html2pug
Usage
From CLI
vsc-snippets-html2pug options
# example
vsc-snippets-html2pug --src ./html-snippets.json --dist ./pug-snippets.json
From JS file
const generatePugSnippets = require('vsc-snippets-html2pug');
const options = {
src: './html-snippets.json',
dist: './pug-snippets.json'
}
generatePugSnippets(options);
Options
- --src: HTML snippets file path.
- --dist: Pug snippets file path that will be created