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

- old
+ new

@@ -6,18 +6,26 @@ :env_var: MDE_BASH_ONLY :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 @@ -110,10 +118,28 @@ :description: Dig history (Present menu of history) - :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 @@ -131,12 +157,21 @@ :default: "*.sh" :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 @@ -339,29 +374,56 @@ :procname: val_as_str - :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 :procname: help @@ -499,10 +561,16 @@ :procname: val_as_str - :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 @@ -533,25 +601,30 @@ - :opt_name: menu_chrome_format :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 - :opt_name: menu_divider_format :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 @@ -758,11 +831,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>[ \\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 :default: fg_rgbh_ff_ff_ff @@ -920,10 +993,18 @@ :env_var: MDE_PAUSE_AFTER_SCRIPT_EXECUTION :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 @@ -1253,9 +1334,14 @@ :description: List tab completions - :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 - :opt_name: table_parse_regexp