Clarify menuitem

This commit is contained in:
Martin Rüegg committed 2023-03-06 09:18:15 +01:00
1 parent b0b5044543
commit ec1e065aa7
1 file changed
+36 -14
+36 -14
View File
@@ -8,14 +8,20 @@
<li>One <a href="variables.html" style="border-bottom: 1px solid currentColor;"> <code>var</code> block</a> to
define "local" variables.
</li>
<li>One or more <a href="#item" style="border-bottom: 1px solid currentColor;"><code>item</code> entries</a>. These
appear as top-level items in a context menu.
</li>
<li>One or more <a href="#menu" style="border-bottom: 1px solid currentColor;"><code>menu</code> entries</a>. These
appear as top-level sub-menus in a context menu.
</li>
<li>One or more <a href="#separator" style="border-bottom: 1px solid currentColor;"><code>separator</code>
entries</a>. These create a horizontal line between the given entries.
<li><span class="is-family-monospace">Menuitems</span>, i.e. one or more of the following:
<ul>
<li>One or more <a href="#item" style="border-bottom: 1px solid currentColor;"><code>item</code> entries</a>.
These
appear as top-level items in a context menu.
</li>
<li>One or more <a href="#menu" style="border-bottom: 1px solid currentColor;"><code>menu</code> entries</a>.
These
appear as top-level sub-menus in a context menu.
</li>
<li>One or more <a href="#separator" style="border-bottom: 1px solid currentColor;"><code>separator</code>
entries</a>. These create a horizontal line between the given entries.
</li>
</ul>
</li>
<li>One or more <code>imports</code>. The content of the given file will be placed in the position of the import.
</li>
@@ -44,6 +50,18 @@
}</code></pre>
<br/>
<h4 id="menuitem">Menuitems</h4>
<p><span class="is-family-monospace">menuitem</span> is an umbrella term for those entry types, that may appear in a
menu. These simply include the following:</p>
<ul>
<li><a href="#item" style="border-bottom: 1px solid currentColor;"><code>item</code></a></li>
<li><a href="#menu" style="border-bottom: 1px solid currentColor;"><code>menu</code></a></li>
<li><a href="#separator" style="border-bottom: 1px solid currentColor;"><code>separator</code></a></li>
</ul>
<br/>
<h4 id="item">Items</h4>
<p><span class="is-family-monospace">item</span>s create a single menu entry.</p>
@@ -74,12 +92,16 @@
<li>One <a href="variables.html" style="border-bottom: 1px solid currentColor;"><code>var</code> block</a> to
define "local" variables.
</li>
<li>One or more <a href="#item" style="border-bottom: 1px solid currentColor;"><code>item</code> entries</a>.
</li>
<li>One or more sub-<a href="#menu" style="border-bottom: 1px solid currentColor;"><code>menu</code> entries</a>.
</li>
<li>One or more <a href="#separator" style="border-bottom: 1px solid currentColor;"><code>separator</code>
entries</a>. These create a horizontal line between the given entries.
<li><span class="is-family-monospace">Menuitems</span>, i.e. one or more of the following:
<ul>
<li>One or more <a href="#item" style="border-bottom: 1px solid currentColor;"><code>item</code> entries</a>.
</li>
<li>One or more sub-<a href="#menu" style="border-bottom: 1px solid currentColor;"><code>menu</code> entries</a>.
</li>
<li>One or more <a href="#separator" style="border-bottom: 1px solid currentColor;"><code>separator</code>
entries</a>. These create a horizontal line between the given entries.
</li>
</ul>
</li>
<li>One or more <code>imports</code>. The content of the given file will be placed in the position of the import.
</li>