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

- old
+ new

@@ -2,18 +2,22 @@ - :short_name: '0' :description: Show current configuration values :procname: show_config - :opt_name: bash_only :env_var: MDE_BASH_ONLY - :description: Display only blocks of type "bash" + :description: Execute only blocks of type "bash" :arg_name: BOOL - :default: true + :default: false :procname: val_as_bool - :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_name :long_name: block-name :short_name: b :env_var: MDE_BLOCK_NAME :description: Name of block to execute @@ -55,10 +59,14 @@ - :opt_name: block_stdout_scan :env_var: MDE_BLOCK_STDOUT_SCAN :description: Match to place block body into a file or a variable :default: ">(?<full>(?<type>\\$)?(?<name>[A-Za-z_\\-\\.\\w]+))" :procname: val_as_str +- :opt_name: block_type_default + :env_var: MDE_BLOCK_TYPE_DEFAULT + :default: bash + :procname: val_as_str - :opt_name: block_type_port_set_format :env_var: MDE_BLOCK_TYPE_PORT_SET_FORMAT :default: ": ${%{key}:=%{value}}" :procname: val_as_str - :opt_name: clear_screen_for_select_block @@ -102,10 +110,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: document_configurations_directory + :env_var: MDE_DOCUMENT_CONFIGURATIONS_DIRECTORY + :description: Directory with files + :arg_name: DIRECTORY + :default: document_configurations + :procname: val_as_str +- :opt_name: document_configurations_extension + :env_var: MDE_DOCUMENT_CONFIGURATIONS_EXTENSION + :description: extension for filenames + :arg_name: EXTENSION + :default: ".sh" + :procname: val_as_str +- :opt_name: document_configurations_glob + :env_var: MDE_DOCUMENT_CONFIGURATIONS_GLOB + :description: filenames to match + :arg_name: GLOB + :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)" :procname: val_as_str @@ -223,11 +249,11 @@ :arg_name: BOOL :default: true :procname: val_as_bool - :opt_name: execute_command_format :env_var: MDE_EXECUTE_COMMAND_FORMAT - :description: execute_command_format + :description: AppleScript to execute a command in a window :default: | osascript -e ' on run argv set batch_index to "%{batch_index}" set home to "%{home}" @@ -285,11 +311,11 @@ :default: "^(?<indent>[ \t]*)`{3,}" :procname: val_as_str - :opt_name: fenced_start_extended_regex :env_var: MDE_FENCED_START_EXTENDED_REGEX :description: Match the start of a fenced block - :default: "^(?<indent>[ \t]*)`{3,}(?<shell>[^`\\s]*) *(:(?<name>[^\\s]*))? *(?<rest>.*) + :default: "^(?<indent>[ \t]*)`{3,}(?<type>[^`\\s]*) *(:(?<name>[^\\s]*))? *(?<rest>.*) *$" :procname: val_as_str - :opt_name: filename :long_name: filename :short_name: f @@ -309,10 +335,22 @@ :env_var: MDE_FIND_PATH :description: Path for find (uses PATH if empty) :arg_name: FIND_PATH :default: '' :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 + :procname: val_as_bool +- :opt_name: heading3_center + :env_var: MDE_HEADING1_CENTER + :default: true + :procname: val_as_bool - :opt_name: heading1_match :env_var: MDE_HEADING1_MATCH :default: "^#(?<line>(?!#)(?<indent>[ \t]*)(?<text>.*?)(?<trailing>[ \t]*))?$" :procname: val_as_str - :opt_name: heading2_match @@ -356,11 +394,11 @@ :env_var: MDE_IMPORT_PATHS :default: :procname: val_as_str - :opt_name: import_pattern :env_var: MDE_IMPORT_PATTERN - :default: "^ *@import +(?<name>.+?) *$" + :default: "^(?<indention> *)@import +(?<name>.+?) *$" :procname: val_as_str - :opt_name: line_decor_main :env_var: MDE_LINE_DECOR_MAIN :description: Line-oriented text decoration (Main) :default: @@ -515,22 +553,21 @@ - :opt_name: menu_divider_symbol :env_var: MDE_MENU_DIVIDER_SYMBOL :description: Symbol before each divider :default: ">" :procname: val_as_str +- :opt_name: menu_edit_color + :env_var: MDE_MENU_EDIT_COLOR + :description: Color of Edit link + :default: fg_rgbh_e0_e0_20 + :procname: val_as_str - :opt_name: menu_exit_at_top :env_var: MDE_MENU_EXIT_AT_TOP :description: Display Exit option at top of menu (vs bottom) :arg_name: BOOL :default: true :procname: val_as_bool -- :opt_name: menu_load_at_top - :env_var: MDE_MENU_LOAD_AT_TOP - :description: Display Load option at top of menu (vs bottom) - :arg_name: BOOL - :default: false - :procname: val_as_bool - :opt_name: menu_final_divider :env_var: MDE_MENU_FINAL_DIVIDER :description: closing demarcations for menu :default: :line: "~~~" @@ -562,10 +599,15 @@ - :opt_name: menu_heading3_format :env_var: MDE_MENU_HEADING3_FORMAT :description: format for menu heading3 in menu :default: "%{line}" :procname: val_as_str +- :opt_name: menu_history_color + :env_var: MDE_MENU_HISTORY_COLOR + :description: Color of History link + :default: fg_rgbh_e0_e0_20 + :procname: val_as_str - :opt_name: menu_import_level_match :env_var: MDE_MENU_IMPORT_LEVEL_MATCH :description: Import levels for blocks to appear in menu. Empty is all. :default: '0' :procname: val_as_str @@ -616,10 +658,21 @@ - :opt_name: menu_link_format :env_var: MDE_MENU_LINK_FORMAT :description: format for menu link :default: "%{line}" :procname: val_as_str +- :opt_name: menu_load_at_top + :env_var: MDE_MENU_LOAD_AT_TOP + :description: Display Load option at top of menu (vs bottom) + :arg_name: BOOL + :default: false + :procname: val_as_bool +- :opt_name: menu_load_color + :env_var: MDE_MENU_LOAD_COLOR + :description: Color of Load link + :default: fg_rgbh_e0_e0_20 + :procname: val_as_str - :opt_name: menu_note_color :env_var: MDE_MENU_NOTE_COLOR :description: Color of menu note :default: fg_rgbh_c0_c0_c0 :procname: val_as_str @@ -629,11 +682,11 @@ :default: "%{line}" :procname: val_as_str - :opt_name: menu_note_match :env_var: MDE_MENU_NOTE_MATCH :description: Pattern for notes in block selection menu - :default: "^(?<line>(?![ \t]*/)(?<text>.*?)(?<trailing>[ \t]*))?$" + :default: "^(?<line>(?![ \t]*/)(?<text>.*?)(?<trailing>[ \t]*))$" :procname: val_as_str - :opt_name: menu_option_back_name :env_var: MDE_MENU_OPTION_BACK_NAME :description: Text for Back option :default: @@ -697,10 +750,20 @@ :env_var: MDE_MENU_RESIZE_TERMINAL :description: Resize terminal when displaying menu. :arg_name: BOOL :default: true :procname: val_as_bool +- :opt_name: menu_save_color + :env_var: MDE_MENU_SAVE_COLOR + :description: Color of Save link + :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]*))$" + :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 :procname: val_as_str @@ -1137,10 +1200,15 @@ :env_var: MDE_SELECT_BY_SHELL_REGEX :description: Select blocks with shell matching :arg_name: REGEX :default: :procname: val_as_str +- :opt_name: select_page_cycle + :env_var: MDE_SELECT_PAGE_CYCLE + :description: Enable cycling past top or bottom + :default: true + :procname: val_as_bool - :opt_name: select_page_height :env_var: MDE_SELECT_PAGE_HEIGHT :description: 'Maximum # of rows in select list. Detects current limit if not specified.' :default: 0 :procname: val_as_int @@ -1189,10 +1257,14 @@ :default: fg_bg_rgbh_00_00_df_14_18_1c - :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 + :env_var: MDE_TABLE_PARSE_REGEXP + :description: Match table for formatting + :default: "^[ \\t]*\\|? *(?::?-+:?) *( *\\| *(?::?-+:?) *)*\\|? *$" - :opt_name: table_row_color :env_var: MDE_TABLE_ROW_COLOR :description: Color for table row :default: - fg_bg_rgbh_cf_cf_cf_14_18_1c @@ -1207,9 +1279,26 @@ :env_var: MDE_USER_MUST_APPROVE :description: Requires user approval before executing a script :arg_name: BOOL :default: false :procname: val_as_bool +- :opt_name: variable_expression_regexp + :env_var: MDE_VARIABLE_EXPRESSION_REGEXP + :description: variable_expression_regexp + :default: "(?<expression>\\${(?<variable>[A-Z0-9a-z_]+)})" + :procname: val_as_str +- :opt_name: vars_block_filename_view + :env_var: MDE_VARS_BLOCK_VIEW + :description: Portions of filename to display + :arg_name: FORMAT + :default: "%{base}" + :procname: val_as_str +- :opt_name: vars_block_filename_pattern + :env_var: MDE_VARS_BLOCK_filename_pattern + :description: vars_block_filename_pattern + :arg_name: PATTERN + :default: "^(?<path>.*/)(?<base>[^/]+?)(?<extension>\\.?[^./]*)?$" + :procname: val_as_str - :long_name: version :short_name: v :description: Print the gem's version :procname: version - :opt_name: warning_color