You can use snippet
markers within your HTML template code in order to generate *
-prefixed selectors that you can later use within Enlive template.
For example, if you say:
<div snippet="content-main"></div>
You can later reference it with *content-main
selector, which will be automatically generated for you.
One of the hidden benefist is that if your application code relies on some element in HTML, here it will be validated, and if there's anything referenced that's not present in HTML, you'll get an exception during compilation, which is good, I think.