1 line
5 KiB
HTML
1 line
5 KiB
HTML
|
<!DOCTYPE HTML><html><head><meta charset="UTF-8"><title>NML | Lists</title><link rel="stylesheet" href="../style.css"></head><body><div class="layout"><input id="navbar-checkbox" class="toggle" type="checkbox" style="display:none" checked><div id="navbar"><ul><li class="navbar-entry"><a href="Getting Started.html">Getting Started</a></li><li class="navbar-entry"><a href="Sections.html">Sections</a></li><li class="navbar-entry"><a href="Variables.html">Variables</a></li><li class="navbar-entry"><a href="References.html">References</a></li><li class="navbar-entry"><a href="Imports.html">Imports</a></li><li class="navbar-entry"><a href="Raw.html">Raw</a></li><li class="navbar-entry"><a href="Comments.html">Comments</a></li><li><details><summary class="navbar-category">External Tools</summary><ul><li class="navbar-entry"><a href="Graphviz.html">Graphviz</a></li><li class="navbar-entry"><a href="LaTeX.html">LaTeX</a></li></ul></details></li><li><details open><summary class="navbar-category">Blocks</summary><ul><li class="navbar-entry"><a href="Blockquotes.html">Blockquotes</a></li><li class="navbar-entry"><a href="Code.html">Code</a></li><li class="navbar-entry-current"><a href="Lists.html">Lists</a></li></ul></details></li><li><details><summary class="navbar-category">Lua</summary><ul><li class="navbar-entry"><a href="Lua Basics.html">Lua</a></li></ul></details></li><li><details><summary class="navbar-category">Styles</summary><ul><li class="navbar-entry"><a href="Basic Styles.html">Basic</a></li><li class="navbar-entry"><a href="Basic Layouts.html">Layouts</a></li><li class="navbar-entry"><a href="User-Defined Styles.html">User-Defined</a></li></ul></details></li></ul></div><label for="navbar-checkbox" class="navbar-checkbox-label">☰</label><div class="content"><div class="toc"><span>Table of Content</span><ol><li value="1"><a href="#Lists">Lists</a></li><li value="2"><a href="#Nested_lists">Nested lists</a></li><li value="3"><a href="#Properties">Properties</a></li></div><h1 id="Lists">1. Lists <a class="section-link" href="#Lists">🔗 </a> </h1><ul><li>Here is a simple list</li><ul><li>With nested entries</li></ul><ol><li value="1">Numbered even!</li></ol></ul><p>Lists start after a newline with one or more space or tab, followed by <em>*</em> for unnumbered lists or <em>-</em> for numbered lists.</p><p><b>Example</b></p><div class="split-container"><div class="split"><p><i>The following...</i></p><div class="code-block"><div class="code-block-content"><table cellspacing="0"><tr><td class="code-block-gutter"><pre><span>1</span></pre></td><td class="code-block-line"><pre><span style="color:#bf616a;"> * A</span></pre></td></tr><tr><td class="code-block-gutter"><pre><span>2</span></pre></td><td class="code-block-line"><pre><span style="color:#bf616a;"> * B</span></pre></td></tr><tr><td class="code-block-gutter"><pre><span>3</span></pre></td><td class="code-block-line"><pre><br></pre></td></tr><tr><td class="code-block-gutter"><pre><span>4</span></pre></td><td class="code-block-line"><pre><span style="color:#bf616a;"> - A</span></pre></td></tr><tr><td class="code-block-gutter"><pre><span>5</span></pre></td><td class="code-block-line"><pre><span style="color:#bf616a;"> - B</span></pre></td></tr></table></div></div></div><div class="split"><p><i>...gives the following</i></p><ul><li>A</li><li>B</li></ul><ol><li value="1">A</li><li value="2">B</li></ol></div></div><h1 id="Nested_lists">2. Nested lists <a class="section-link" href="#Nested_lists">🔗 </a> </h1><p>Lists can contain other lists as nested elements.</p><p><b>Example</b></p><div class="split-container"><div class="split"><p><i>The following...</i></p><div class="code-block"><div class="code-block-content"><table cellspacing="0"><tr><td class="code-block-gutter"><pre><span>1</span></pre></td><td class="code-block-line"><pre><span style="color:#bf616a;"> - First</span></pre></td></tr><tr><td class="code-block-gutter"><pre><span>2</span></pre></td><td class="code-block-line"><pre><span style="color:#bf616a;"> --[offset=11] Nested</span></pre></td
|