lib/menu.yml in markdown_exec-2.0.6 vs lib/menu.yml in markdown_exec-2.0.7
- old
+ new
@@ -1,6 +1,6 @@
-# MDE - Markdown Executor (2.0.6)
+# MDE - Markdown Executor (2.0.7)
---
- :description: Show current configuration values
:procname: show_config
:short_name: '0'
- :arg_name: BOOL
@@ -283,19 +283,19 @@
:description: Path for find (uses PATH if empty)
:env_var: MDE_FIND_PATH
:long_name: find-path
:opt_name: find_path
:procname: val_as_str
-- :default: "^# *(?<line>[^#]*?) *$"
+- :default: "^#(?<line>(?!#)(?<indent>[ \t]*)(?<text>.*?)(?<trailing>[ \t]*))?$"
:env_var: MDE_HEADING1_MATCH
:opt_name: heading1_match
:procname: val_as_str
-- :default: "^## *(?<line>[^#]*?) *$"
+- :default: "^##(?<line>(?!#)(?<indent>[ \t]*)(?<text>.*?)(?<trailing>[ \t]*))?$"
:env_var: MDE_HEADING2_MATCH
:opt_name: heading2_match
:procname: val_as_str
-- :default: "^### *(?<line>.+?) *$"
+- :default: "^###(?<line>(?<indent>[ \t]*)(?<text>.*?)(?<trailing>[ \t]*))?$"
:env_var: MDE_HEADING3_MATCH
:opt_name: heading3_match
:procname: val_as_str
- :description: App help
:long_name: help
@@ -423,11 +423,11 @@
- :default: "-:= %{line} =:-"
:description: format for menu dividers and demarcations
:env_var: MDE_MENU_DIVIDER_FORMAT
:opt_name: menu_divider_format
:procname: val_as_str
-- :default: "^::: +(?<line>.+?)$"
+- :default: "^:::(?<line>(?<indent>[ \t]*)(?<text>.*?)(?<trailing>[ \t]*))?$"
:description: Pattern for topics/dividers in block selection menu
:env_var: MDE_MENU_DIVIDER_MATCH
:opt_name: menu_divider_match
:procname: val_as_str
- :default: ">"
@@ -451,36 +451,36 @@
:line: "~~~"
:description: closing demarcations for menu
:env_var: MDE_MENU_FINAL_DIVIDER
:opt_name: menu_final_divider
:procname: val_as_str
-- :default: fg_rgbh_80_80_c0
+- :default: fg_bg_rgbh_80_80_c0_10_10_20
:description: Color for heading 1 in menu
:env_var: MDE_MENU_HEADING1_COLOR
:opt_name: menu_heading1_color
:procname: val_as_str
-- :default: "# %{line}"
+- :default: "%{line}"
:description: format for menu heading1 in menu
:env_var: MDE_MENU_HEADING1_FORMAT
:opt_name: menu_heading1_format
:procname: val_as_str
-- :default: fg_rgbh_60_60_c0
+- :default: fg_bg_rgbh_60_60_c0_10_10_20
:description: Color for heading 2 in menu
:env_var: MDE_MENU_HEADING2_COLOR
:opt_name: menu_heading2_color
:procname: val_as_str
-- :default: "## %{line}"
+- :default: "%{line}"
:description: format for menu heading2 in menu
:env_var: MDE_MENU_HEADING2_FORMAT
:opt_name: menu_heading2_format
:procname: val_as_str
-- :default: fg_rgbh_40_40_c0
+- :default: fg_bg_rgbh_40_40_c0_10_10_20
:description: Color for heading 3 in menu
:env_var: MDE_MENU_HEADING3_COLOR
:opt_name: menu_heading3_color
:procname: val_as_str
-- :default: "### %{line}"
+- :default: "%{line}"
:description: format for menu heading3 in menu
:env_var: MDE_MENU_HEADING3_FORMAT
:opt_name: menu_heading3_format
:procname: val_as_str
- :default: '0'
@@ -530,21 +530,21 @@
- :default: "%{line}"
:description: format for menu link
:env_var: MDE_MENU_LINK_FORMAT
:opt_name: menu_link_format
:procname: val_as_str
-- :default: fg_rgbh_b0_b0_b0
+- :default: fg_rgbh_c0_c0_c0
:description: Color of menu note
:env_var: MDE_MENU_NOTE_COLOR
:opt_name: menu_note_color
:procname: val_as_str
- :default: "%{line}"
:description: format for menu notes
:env_var: MDE_MENU_NOTE_FORMAT
:opt_name: menu_note_format
:procname: val_as_str
-- :default: "^(?<line>(?!/ ).*)?$"
+- :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:
@@ -576,10 +576,16 @@
:description: Text for Save option
:env_var: MDE_MENU_OPTION_SAVE_NAME
:opt_name: menu_option_save_name
:procname: val_as_str
- :default:
+ :line: "! Shell"
+ :description: Text for Shell option
+ :env_var: MDE_MENU_OPTION_SHELL_NAME
+ :opt_name: menu_option_shell_name
+ :procname: val_as_str
+- :default:
:line: "* View"
:description: Text for View option
:env_var: MDE_MENU_OPTION_VIEW_NAME
:opt_name: menu_option_view_name
:procname: val_as_str
@@ -655,10 +661,16 @@
:description: Display inherited lines in menu
:env_var: MDE_MENU_WITH_INHERITED_LINES
:opt_name: menu_with_inherited_lines
:procname: val_as_bool
- :arg_name: BOOL
+ :default: true
+ :description: Display Shell option in menu
+ :env_var: MDE_MENU_WITH_SHELL
+ :opt_name: menu_with_shell
+ :procname: val_as_bool
+- :arg_name: BOOL
:default: false
:description: Hide decorative menu entries
:env_var: MDE_NO_CHROME
:opt_name: no_chrome
:procname: val_as_bool
@@ -741,10 +753,10 @@
:opt_name: path
:procname: val_as_str
:short_name: p
- :arg_name: BOOL
:default: false
- :description: Wheter to pause after manually executing a block and the next menu
+ :description: Whether to pause after manually executing a block and the next menu
:env_var: MDE_PAUSE_AFTER_SCRIPT_EXECUTION
:opt_name: pause_after_script_execution
:procname: val_as_bool
- :default: |2-