lib/menu.src.yml in markdown_exec-2.5.0 vs lib/menu.src.yml in markdown_exec-2.6.0

- old
+ new

@@ -9,20 +9,30 @@ :description: Execute only blocks of type "bash" :arg_name: BOOL :default: false :procname: val_as_bool +- :opt_name: block_batch_match + :env_var: MDE_BLOCK_BATCH_MATCH + :default: '@batch' + :procname: val_as_str + - :opt_name: block_calls_scan :env_var: MDE_BLOCK_CALLS_SCAN :default: "%\\([^\\)]+\\)" :procname: val_as_str - :opt_name: block_disable_match :env_var: MDE_BLOCK_DISABLE_MATCH :default: '@disable' :procname: val_as_str +- :opt_name: block_interactive_match + :env_var: MDE_BLOCK_INTERACTIVE_MATCH + :default: '@interactive' + :procname: val_as_str + - :opt_name: block_name :long_name: block-name :short_name: b :env_var: MDE_BLOCK_NAME :description: Name of block to execute @@ -90,10 +100,16 @@ :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>\\$\\((?<variable>[A-Z0-9a-z_]+)\\))" +# :procname: val_as_str + - :long_name: config :description: Read configuration file :arg_name: PATH :default: "." :procname: path @@ -134,10 +150,31 @@ - :opt_name: display_level_xbase_prefix :env_var: MDE_DISPLAY_LEVEL_XBASE_PREFIX :default: "> " :procname: val_as_str +- :opt_name: divider_match + :env_var: MDE_DIVIDER_MATCH + :description: Pattern for topics/dividers in block selection menu + :default: "^(?<indent>[ \t]*):::(?<collapse>[+-~]?)(?<leading>[ \t]*)(?<line>(?<text>.*?)(?<trailing>[ \t]*))?$" + :procname: val_as_str + +- :opt_name: divider4_center + :env_var: MDE_DIVIDER4_CENTER + :default: true + :procname: val_as_bool + +- :opt_name: divider4_collapse + :env_var: MDE_DIVIDER_COLLAPSE + :default: false + :procname: val_as_bool + +- :opt_name: divider4_collapsible + :env_var: MDE_DIVIDER_COLLAPSIBLE + :default: true + :procname: val_as_bool + - :opt_name: document_configurations_directory :env_var: MDE_DOCUMENT_CONFIGURATIONS_DIRECTORY :description: Directory with files :arg_name: DIRECTORY :default: document_configurations @@ -158,13 +195,24 @@ :procname: val_as_str - :opt_name: document_load_opts_block_name :env_var: MDE_DOCUMENT_LOAD_OPTS_BLOCK_NAME :description: Name of Opts block to load with the document - :default: "(document_options)" + :default: "(document_opts)" :procname: val_as_str +- :opt_name: document_load_vars_block_name + :env_var: MDE_DOCUMENT_LOAD_VARS_BLOCK_NAME + :description: Name of Vars block to load with the document + :default: "(document_vars)" + :procname: val_as_str + +- :opt_name: document_play_bin + :env_var: MDE_DOCUMENT_PLAY_BIN + :default: play + :procname: val_as_str + - :opt_name: document_saved_lines_glob :env_var: MDE_DOCUMENT_SAVED_LINES_GLOB :description: Glob for saved lines for a document :arg_name: GLOB :default: document_configurations/%{document_filename}_*.sh @@ -400,33 +448,63 @@ - :opt_name: heading1_center :env_var: MDE_HEADING1_CENTER :default: true :procname: val_as_bool -- :opt_name: heading2_center - :env_var: MDE_HEADING1_CENTER - :default: true +- :opt_name: heading1_collapse + :env_var: MDE_HEADING1_COLLAPSE + :default: false :procname: val_as_bool -- :opt_name: heading3_center - :env_var: MDE_HEADING1_CENTER - :default: true +- :opt_name: heading1_collapsible + :env_var: MDE_HEADING1_COLLAPSIBLE + :default: false :procname: val_as_bool - :opt_name: heading1_match :env_var: MDE_HEADING1_MATCH - :default: "^#(?<line>(?!#)(?<indent>[ \t]*)(?<text>.*?)(?<trailing>[ \t]*))?$" + :default: "^#(?<line>(?!#)(?<collapse>[+-~]?)(?<indent>[ \t]*)(?<text>.*?)(?<trailing>[ \t]*))?$" :procname: val_as_str +- :opt_name: heading2_center + :env_var: MDE_HEADING2_CENTER + :default: true + :procname: val_as_bool + +- :opt_name: heading2_collapse + :env_var: MDE_HEADING2_COLLAPSE + :default: false + :procname: val_as_bool + +- :opt_name: heading2_collapsible + :env_var: MDE_HEADING2_COLLAPSIBLE + :default: true + :procname: val_as_bool + - :opt_name: heading2_match :env_var: MDE_HEADING2_MATCH - :default: "^##(?<line>(?!#)(?<indent>[ \t]*)(?<text>.*?)(?<trailing>[ \t]*))?$" + :default: "^##(?<line>(?!#)(?<collapse>[+-~]?)(?<indent>[ \t]*)(?<text>.*?)(?<trailing>[ \t]*))?$" :procname: val_as_str +- :opt_name: heading3_center + :env_var: MDE_HEADING3_CENTER + :default: true + :procname: val_as_bool + +- :opt_name: heading3_collapse + :env_var: MDE_HEADING3_COLLAPSE + :default: false + :procname: val_as_bool + +- :opt_name: heading3_collapsible + :env_var: MDE_HEADING3_COLLAPSIBLE + :default: true + :procname: val_as_bool + - :opt_name: heading3_match :env_var: MDE_HEADING3_MATCH - :default: "^###(?<line>(?<indent>[ \t]*)(?<text>.*?)(?<trailing>[ \t]*))?$" + :default: "^###(?<collapse>[+-~]?)(?<line>(?<indent>[ \t]*)(?<text>.*?)(?<trailing>[ \t]*))?$" :procname: val_as_str - :long_name: help :short_name: h :description: App help @@ -591,10 +669,17 @@ - :opt_name: md_filename_match :env_var: MDE_MD_FILENAME_MATCH :default: ".+\\.md" :procname: val_as_str +- :opt_name: menu_active_color_pastel_messages + :env_var: MDE_MENU_ACTIVE_COLOR_PASTEL_MESSAGES + :description: menu_active_color_pastel_messages + :default: + - bright_magenta + - on_black + - :opt_name: menu_back_at_top :env_var: MDE_MENU_BACK_AT_TOP :description: Display Back option at top of menu (vs bottom) :arg_name: BOOL :default: true @@ -630,10 +715,22 @@ :env_var: MDE_MENU_CHROME_FORMAT :description: format for menu chromes :default: "%{line}" :procname: val_as_str +- :opt_name: menu_collapsible_symbol_collapsed + :env_var: MDE_MENU_COLLAPSIBLE_SYMBOL_COLLAPSED + :description: menu_collapsible_symbol_collapsed + :default: '⬢' # ∆ ⬢ + + :procname: val_as_str + +- :opt_name: menu_collapsible_symbol_expanded + :env_var: MDE_MENU_COLLAPSIBLE_SYMBOL_expandED + :description: menu_collapsible_symbol_expanded + :default: '⬡' # … ⬡ - + :procname: val_as_str + - :opt_name: menu_divider_color :env_var: MDE_MENU_DIVIDER_COLOR :description: Color of menu divider :default: fg_rgbh_80_d0_c0 :procname: val_as_str @@ -642,16 +739,10 @@ :env_var: MDE_MENU_DIVIDER_FORMAT :description: format for menu dividers and demarcations :default: "-:= %{line} =:-" :procname: val_as_str -- :opt_name: menu_divider_match - :env_var: MDE_MENU_DIVIDER_MATCH - :description: Pattern for topics/dividers in block selection menu - :default: "^(?<indent>[ \t]*):::(?<line>(?<text>.*?)(?<trailing>[ \t]*))?$" - :procname: val_as_str - - :opt_name: menu_divider_symbol :env_var: MDE_MENU_DIVIDER_SYMBOL :description: Symbol before each divider :default: ">" :procname: val_as_str @@ -901,11 +992,11 @@ :procname: val_as_str - :opt_name: menu_table_rows_match :env_var: MDE_MENU_TABLE_ROWS_MATCH :description: Pattern for table rows - :default: '^(?<line>[ \t]*(?<text>\|.*?)(?<trailing>[ \t]*))$' + :default: '^(?<line>(?<indent>[ \t]*)(?<text>\|.*?)(?<trailing>[ \t]*))$' :procname: val_as_str - :opt_name: menu_task_color :env_var: MDE_MENU_TASK_COLOR :description: Color of menu task @@ -1093,10 +1184,20 @@ :description: Whether to pause after manually executing a block and the next menu :arg_name: BOOL :default: false :procname: val_as_bool +- :opt_name: play_bin_batch + :env_var: MDE_PLAY_BIN_BATCH + :default: play + :procname: val_as_str + +- :opt_name: play_bin_interactive + :env_var: MDE_PLAY_BIN_INTERACTIVE + :default: play_interactive + :procname: val_as_str + - :opt_name: probe :long_name: probe :env_var: MDE_PROBE :description: Probe history (Filter history to files with lines matching a pattern) :procname: val_as_str @@ -1466,9 +1567,15 @@ - :opt_name: table_border_color :env_var: MDE_TABLE_BORDER_COLOR :description: Color for table border :default: fg_bg_rgbh_00_00_df_14_18_1c + +- :opt_name: table_center + :env_var: MDE_TABLE_CENTER + :arg_name: BOOL + :default: true + :procname: val_as_bool - :opt_name: table_header_row_color :env_var: MDE_TABLE_HEADER_ROW_COLOR :description: Color for table header row :default: fg_bg_rgbh_df_7f_00_14_18_1c