Back to Notenik.app


The Notenik Knowledge Base

14.2.2 Derived Variables ↑

14.2.2.11 Title Display Slug

This derived variable name can be used to format the title of a Note using the Collection Settings value for Note Title Display, wrapping the title value in the appropriate HTML block elements.

For example, given a title of ‘Very Important Note’, and a Note Title Display Collection Setting of h1, the following template line:


=$title-display-slug$=

Would produce the following line of HTML:


<h1 id="very-important-note">Very Important Note</h1>

Next: Variable Modifiers