lib/menu.yml in markdown_exec-2.0.8.4 vs lib/menu.yml in markdown_exec-2.1.0
- old
+ new
@@ -105,10 +105,16 @@
:description: Add menu options for saved lines
: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
@@ -540,11 +546,11 @@
- :default: "%{line}"
:description: format for menu notes
:env_var: MDE_MENU_NOTE_FORMAT
:opt_name: menu_note_format
:procname: val_as_str
-- :default: "^(?<line>(?!/ )(?<indent>[ \t]*)(?<text>.*?)(?<trailing>[ \t]*))?$"
+- :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
- :default:
@@ -564,10 +570,16 @@
:description: Text for Exit option
: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
@@ -846,10 +858,17 @@
:env_var: MDE_PROMPT_SELECT_CODE_FILE
:opt_name: prompt_select_code_file
:procname: val_as_str
- :default: |2-
+ View 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: |2-
+
Choose a file:
:description: Prompt to select a markdown document
:env_var: MDE_PROMPT_SELECT_MD
:opt_name: prompt_select_md
:procname: val_as_str
@@ -887,9 +906,19 @@
: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
:opt_name: save_executed_script