From ec1e065aa77b7f5ffecf8e1782abda97ee44c800 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20R=C3=BCegg?= Date: Mon, 6 Mar 2023 06:43:36 +0100 Subject: [PATCH] Clarify `menuitem` --- docs/syntax/dynamic.html | 50 +++++++++++++++++++++++++++++----------- 1 file changed, 36 insertions(+), 14 deletions(-) diff --git a/docs/syntax/dynamic.html b/docs/syntax/dynamic.html index 3340e67..f0c0601 100644 --- a/docs/syntax/dynamic.html +++ b/docs/syntax/dynamic.html @@ -8,14 +8,20 @@
  • One var block to define "local" variables.
  • -
  • One or more item entries. These - appear as top-level items in a context menu. -
  • -
  • One or more menu entries. These - appear as top-level sub-menus in a context menu. -
  • -
  • One or more separator - entries. These create a horizontal line between the given entries. +
  • Menuitems, i.e. one or more of the following: +
  • One or more imports. The content of the given file will be placed in the position of the import.
  • @@ -44,6 +50,18 @@ }
    + + +

    menuitem is an umbrella term for those entry types, that may appear in a + menu. These simply include the following:

    + + +
    +

    Items

    items create a single menu entry.

    @@ -74,12 +92,16 @@
  • One var block to define "local" variables.
  • -
  • One or more item entries. -
  • -
  • One or more sub-menu entries. -
  • -
  • One or more separator - entries. These create a horizontal line between the given entries. +
  • Menuitems, i.e. one or more of the following: +
  • One or more imports. The content of the given file will be placed in the position of the import.