Last active
April 3, 2021 10:01
-
-
Save 0atman/9ffa24c55b28b28dfaede350adf3cd69 to your computer and use it in GitHub Desktop.
markup.rs is pug with brackets
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 { | |
head { | |
title { "example.com" } | |
style { | |
"body { background: #fafbfc; }" | |
"#main { padding: 2rem; }" | |
} | |
} | |
body { | |
@Header { "example.com" } | |
#main { | |
p { | |
"This domain is for use in illustrative examples in documents. You may \ | |
use this domain in literature without prior coordination or asking for \ | |
permission." | |
} | |
p { | |
a[href = "https://www.iana.org/domains/example"] { | |
"More information..." | |
} | |
} | |
} | |
@Footer { year: 2021 } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
from the example here https://crates.io/crates/markup#example