Vocabularyhelp.
markupInputselement | an array of markup elements |
OutputsNone
Word descriptionPrints a bulleted list of markup elements.
NotesA common mistake is that if an item consists of more than just a string, it will be broken up as several items:
{
$list
"First item"
"Second item "
{ $emphasis "with emphasis" }
} print-element
• | First item |
• | Second item |
• | with emphasis |
The fix is easy; just group the two markup elements making up the second item into one markup element:
{
$list
"First item"
{ "Second item " { $emphasis "with emphasis" } }
} print-element
• | First item |
• | Second item with emphasis |
Definition