lib/menu.src.yml in markdown_exec-2.0.8.4 vs lib/menu.src.yml in markdown_exec-2.1.0
- old
+ new
@@ -126,10 +126,17 @@
:env_var: MDE_MENU_FOR_SAVED_LINES
:opt_name: menu_for_saved_lines
:procname: val_as_bool
- :arg_name: BOOL
+ :default: true
+ :description: Add menu options for history
+ :env_var: MDE_menu_for_history
+ :opt_name: menu_for_history
+ :procname: val_as_bool
+
+- :arg_name: BOOL
:default: false
:description: Dump @delegate_object
:env_var: MDE_DUMP_DELEGATE_OBJECT
:long_name: dump-delegate-object
:opt_name: dump_delegate_object
@@ -641,12 +648,12 @@
:description: format for menu notes
:env_var: MDE_MENU_NOTE_FORMAT
:opt_name: menu_note_format
:procname: val_as_str
-## all lines that do not start with "/ " are notes
-- :default: "^(?<line>(?!/ )(?<indent>[ \t]*)(?<text>.*?)(?<trailing>[ \t]*))?$"
+## lines that start with "/" are comments (hidden), not notes (visible)
+- :default: "^(?<line>(?!/)(?<indent>[ \t]*)(?<text>.*?)(?<trailing>[ \t]*))?$"
:description: Pattern for notes in block selection menu
:env_var: MDE_MENU_NOTE_MATCH
:opt_name: menu_note_match
:procname: val_as_str
@@ -670,10 +677,17 @@
:env_var: MDE_MENU_OPTION_EXIT_NAME
:opt_name: menu_option_exit_name
:procname: val_as_str
- :default:
+ :line: "* History"
+ :description: Text for History option
+ :env_var: MDE_MENU_OPTION_HISTORY_NAME
+ :opt_name: menu_option_history_name
+ :procname: val_as_str
+
+- :default:
:line: "* Load"
:description: Text for Load option
:env_var: MDE_MENU_OPTION_LOAD_NAME
:opt_name: menu_option_load_name
:procname: val_as_str
@@ -990,10 +1004,16 @@
:description: Prompt to select a file with inherited lines
:env_var: MDE_PROMPT_SELECT_CODE_FILE
:opt_name: prompt_select_code_file
:procname: val_as_str
+- :default: "\nView file:"
+ :description: Prompt to select a saved asset
+ :env_var: MDE_PROMPT_SELECT_HISTORY_FILE
+ :opt_name: prompt_select_history_file
+ :procname: val_as_str
+
- :default: "\nChoose a file:"
:description: Prompt to select a markdown document
:env_var: MDE_PROMPT_SELECT_MD
:opt_name: prompt_select_md
:procname: val_as_str
@@ -1035,9 +1055,21 @@
- :default: 1
:description: Runtime exception error level (warn if < 0, ignore if 0, abort if > 0)
:env_var: MDE_RUNTIME_EXCEPTION_ERROR_LEVEL
:opt_name: runtime_exception_error_level
:procname: val_as_int
+
+- :default: '%{prefix}%{join}%{time}%{join}%{filename}%{join}%{mark}%{join}%{blockname}%{join}%{exts}'
+ :description: saved_asset_format
+ :env_var: MDE_SAVED_ASSET_FORMAT
+ :opt_name: saved_asset_format
+ :procname: val_as_str
+
+- :default: "^(?<prefix>.+)(?<join>_)(?<time>[0-9\\-]+)\\g'join'(?<filename>.+)\\g'join'(?<mark>~)\\g'join'(?<blockname>.+)\\g'join'(?<exts>\\..+)$"
+ :description: saved_asset_match
+ :env_var: MDE_SAVED_ASSET_MATCH
+ :opt_name: saved_asset_match
+ :procname: val_as_str
- :arg_name: BOOL
:default: false
:description: Whether to save an executed script
:env_var: MDE_SAVE_EXECUTED_SCRIPT