View the HTML for a page element, making it easier to reuse HTML examples.
Inspired by the Bootswatch theming website.
-
Install via bower:
bower install torbensko/angular-inspect-html --save
-
Import the module
sko.inspectHtml
-
Add
inspect-html
to the element you want to reveal the HTML of, e.g.<div inspect-html> <div>reusable html component</div> </div>
-
Install
npm install bower install
-
Build the CSS
grunt
-
Run server - requires Python.
./run.sh