Back to Notenik Docs


Notenik Knowledge Base

9.2.3 Derived Variables ↑

9.2.3.13 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: 9.2.3.14 Unique ID for Note