lib/menu.yml in markdown_exec-2.6.0 vs lib/menu.yml in markdown_exec-2.7.0
- old
+ new
@@ -81,10 +81,15 @@
:env_var: MDE_CLEAR_SCREEN_FOR_SELECT_BLOCK
:description: clear_screen_for_select_block
:arg_name: BOOL
:default: true
:procname: val_as_bool
+- :opt_name: command_substitution_regexp
+ :env_var: MDE_COMMAND_SUBSTITUTION_REGEXP
+ :description: command_substitution_regexp
+ :default: "(?<expression>\\$\\((?<command>([^()]*(\\([^()]*\\))*[^()]*)*)\\))"
+ :procname: val_as_str
- :long_name: config
:description: Read configuration file
:arg_name: PATH
:default: "."
:procname: path
@@ -384,12 +389,12 @@
:env_var: MDE_HEADING1_COLLAPSIBLE
:default: false
:procname: val_as_bool
- :opt_name: heading1_match
:env_var: MDE_HEADING1_MATCH
- :default: "^#(?<line>(?!#)(?<collapse>[+-~]?)(?<indent>[ \t]*)(?<text>.*?)(?<trailing>[
- \t]*))?$"
+ :default: "^(?<indent>[ \t]*)#(?<collapse>[+-~]?)(?<leading>[ \t]*)(?<line>(?!#)(?<text>.*?))?(?<trailing>[
+ \t]*)$"
:procname: val_as_str
- :opt_name: heading2_center
:env_var: MDE_HEADING2_CENTER
:default: true
:procname: val_as_bool
@@ -401,12 +406,12 @@
:env_var: MDE_HEADING2_COLLAPSIBLE
:default: true
:procname: val_as_bool
- :opt_name: heading2_match
:env_var: MDE_HEADING2_MATCH
- :default: "^##(?<line>(?!#)(?<collapse>[+-~]?)(?<indent>[ \t]*)(?<text>.*?)(?<trailing>[
- \t]*))?$"
+ :default: "^(?<indent>[ \t]*)#{2}(?<collapse>[+-~]?)(?<leading>[ \t]*)(?<line>(?!#)(?<text>.*?))?(?<trailing>[
+ \t]*)$"
:procname: val_as_str
- :opt_name: heading3_center
:env_var: MDE_HEADING3_CENTER
:default: true
:procname: val_as_bool
@@ -418,12 +423,12 @@
:env_var: MDE_HEADING3_COLLAPSIBLE
:default: true
:procname: val_as_bool
- :opt_name: heading3_match
:env_var: MDE_HEADING3_MATCH
- :default: "^###(?<collapse>[+-~]?)(?<line>(?<indent>[ \t]*)(?<text>.*?)(?<trailing>[
- \t]*))?$"
+ :default: "^(?<indent>[ \t]*)#{3}(?<collapse>[+-~]?)(?<gap>[ \t]*)(?<line>(?!#)(?<text>.*?))?(?<trailing>[
+ \t]*)$"
:procname: val_as_str
- :long_name: help
:short_name: h
:description: App help
:procname: help
@@ -831,11 +836,11 @@
:default: fg_rgbh_ff_ff_20
:procname: val_as_str
- :opt_name: menu_table_rows_match
:env_var: MDE_MENU_TABLE_ROWS_MATCH
:description: Pattern for table rows
- :default: "^(?<line>(?<indent>[ \\t]*)(?<text>\\|.*?)(?<trailing>[ \\t]*))$"
+ :default: "^(?<indent>[ \\t]*)(?<line>(?<text>\\|.*?)(?<trailing>[ \\t]*))$"
:procname: val_as_str
- :opt_name: menu_task_color
:env_var: MDE_MENU_TASK_COLOR
:description: Color of menu task
:default: fg_rgbh_ff_ff_ff
@@ -1057,10 +1062,15 @@
- :opt_name: prompt_filespec_other
:env_var: MDE_PROMPT_FILESPEC_OTHER
:description: User wants a custom file name
:default: Other
:procname: val_as_str
+- :opt_name: prompt_margin_left_text
+ :env_var: MDE_PROMPT_MARGIN_LEFT_TEXT
+ :description: prompt_margin_left_text
+ :default: "ยป "
+ :procname: val_as_str
- :opt_name: prompt_no
:env_var: MDE_PROMPT_NO
:description: Prompt for no
:default: 'No'
:procname: val_as_str
@@ -1235,9 +1245,14 @@
:env_var: MDE_SAVED_STDOUT_GLOB
:description: Glob matching saved outputs
:arg_name: GLOB
:default: mde_*.out.txt
:procname: val_as_str
+- :opt_name: screen_width
+ :env_var: MDE_SCREEN_WIDTH
+ :description: Screen width for document and interface. 0 to use the actual dimension.
+ :default: 0
+ :procname: val_as_int
- :opt_name: script_execution_frame_color
:env_var: MDE_SCRIPT_EXECUTION_FRAME_COLOR
:description: script_execution_frame_color
:default: fg_rgbh_00_ff_7f
:procname: val_as_str