Skip to content

Instantly share code, notes, and snippets.

@0atman
Last active April 3, 2021 10:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0atman/9ffa24c55b28b28dfaede350adf3cd69 to your computer and use it in GitHub Desktop.
Save 0atman/9ffa24c55b28b28dfaede350adf3cd69 to your computer and use it in GitHub Desktop.
markup.rs is pug with brackets
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 }
}
}
@0atman
Copy link
Author

0atman commented Apr 3, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment