-
-
Save timaschew/7543cf3d0c455f686784 to your computer and use it in GitHub Desktop.
Jade Syntax, just visit http://jade-lang.com/demo/ and paste the code
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
// HTML comment | |
//- jade comment | |
- var alpha = "foo" | |
- var beta = "bar" | |
- var delta = "<i>baz</i>" | |
- var gamma = "footer" | |
h1 foobar | |
h1 foo#{beta} | |
h1 #{alpha}bar | |
//- WARNING: whitepsace(s) between h1 and = are forbidden! The same for h1=! | |
h1= alpha+beta | |
h1= alpha+"bar" | |
h2: i baz | |
h2!= delta | |
//- here: unbuffered HTML code | |
h3= delta | |
footer imprint | |
#{gamma} imprint |
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
<!-- HTML comment--> | |
<h1>foobar</h1> | |
<h1>foobar</h1> | |
<h1>foobar</h1> | |
<h1>foobar</h1> | |
<h1>foobar</h1> | |
<h2><i>baz</i></h2> | |
<h2><i>baz</i></h2> | |
<h3><i>baz</i></h3> | |
<footer>imprint</footer> | |
<footer>imprint</footer> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment