Back to Notenik Docs


The Notenik Knowledge Base

7.3 Notenik Markdown Parser ↑

7.3.6 Single-Line Commands

The Notenik parser enables several single-line commands that are generally indicated by enclosure between curly braces. Details are available in following notes; this page provides a convenient summary.

Note that, when using Merge Templates and converting Markdown to HTML, you will likely also need to use the Variable Modifier identified as the Wiki-Style Links Mod, typically with a value of ‘w1’, in order to make sure that the commands below resolve effectively, since most generate wiki-style links in Markdown before the conversion to HTML takes place.

Note also that these commands are further categorized based on their relationship to the Collection in which the Note is enclosed.

Syntax Function
{:attachments} Generate a List of Attachments
{:biblio} Generate a Bibliography
{:byline} Format a Byline
{:calendar} Generate a Collection Calendar
{:caption} Start a Figure Caption
{:collection-toc:2-3} Generate a Collection Table of Contents
{:endfigure} End a Figure
{:endsegment} End a Segment
{:figure} Start a Figure
{:footer} Supply a Page Footer
{:header} Supply a Page Header
{:include:another-file.txt} Include a Note or File
{:index} Generate a Collection Index
{:inject:parms} Inject Block Attributes
{:metadata} Supply EPUB Metadata
{:nav} Supply Page Navigation
{:outline-bullets} Generate Outline Based on Unordered List Items
{:outline-headings} Generate Outline Based on Headings
{:quote-from:parms} Format a Quote Citation
{:random} Go To Random Note
{:search} Generate a Collection Search Page
{:section-headings} Generate Sections for Headings
{:segment:element} Start a Segment
{:sort-table:table-id} Make a Table Sortable
{:tags-cloud} Generate a Tags Cloud
{:tags-outline} Generate a Tags Outline
{:teasers} Display Teasers
{:toc:2-3} Generate a Note Table of Contents

Next: 7.3.7 Formatting Commands