Back to Notenik Docs


Notenik Knowledge Base

4.8 Formatting Commands ↑

4.8.7 Start a Segment

The segment command can be used to start a segment of HTML within a Markdown field.

A segment is genereally intended to be something like a div or an aside, but can be any HTML element.

The intended element name follows the command, as in the following example.

{:segment: aside}

A segment command should always be followed at some later point by an endssegment command.

Note that a class value and/or an id value can also be specified, in that sequence, using pipes to separate the parameters.

Also note that segment commands may be nested, if the resulting HTML would be valid.


Next: 4.8.8 End a Segment