Created
December 16, 2013 03:11
-
-
Save PaulMaynard/7981774 to your computer and use it in GitHub Desktop.
Html tag template in mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<a href="/">link</a> | |
<img src="/img.png"> | |
<div contenteditable></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{#tags}} | |
<{{name}}{{#attrs}} {{name}}{{#value}}="{{{value}}}"{{/value}}{{/attrs}}>{{^empty}}{{{content}}}</{{name}}>{{/empty}} | |
{{/tags}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment