lib/menu.src.yml in markdown_exec-2.0.6 vs lib/menu.src.yml in markdown_exec-2.0.7

- old
+ new

@@ -104,10 +104,16 @@ - :default: "> " :env_var: MDE_DISPLAY_LEVEL_XBASE_PREFIX :opt_name: display_level_xbase_prefix :procname: val_as_str +# - :default: "(document_link)" +# :description: Name of Link block to load with the document +# :env_var: MDE_DOCUMENT_LOAD_LINK_BLOCK_NAME +# :opt_name: document_load_link_block_name +# :procname: val_as_str + - :default: "(document_options)" :description: Name of Opts block to load with the document :env_var: MDE_DOCUMENT_LOAD_OPTS_BLOCK_NAME :opt_name: document_load_opts_block_name :procname: val_as_str @@ -225,10 +231,12 @@ :description: Hide all blocks of type "expect" :env_var: MDE_EXCLUDE_EXPECT_BLOCKS :opt_name: exclude_expect_blocks :procname: val_as_bool +# - :default: > +# osascript scripts/applescript/mde.applescript "%{batch_index}" "%{home}" " %{started_at} - %{document_filename} - %{block_name} " "%{script_filespec}" "%{output_filespec}" - :default: > osascript -e ' on run argv set batch_index to "%{batch_index}" set home to "%{home}" @@ -326,21 +334,21 @@ :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 @@ -494,11 +502,11 @@ :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 @@ -527,41 +535,44 @@ :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}" +# strip heading tag +- :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}" +# strip heading tag +- :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}" +# strip heading tag +- :default: "%{line}" :description: format for menu heading3 in menu :env_var: MDE_MENU_HEADING3_FORMAT :opt_name: menu_heading3_format :procname: val_as_str @@ -622,11 +633,11 @@ :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 @@ -635,11 +646,11 @@ :env_var: MDE_MENU_NOTE_FORMAT :opt_name: menu_note_format :procname: val_as_str ## all lines that do not start with "/ " are notes -- :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 @@ -677,10 +688,17 @@ :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 @@ -771,10 +789,17 @@ :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 @@ -872,10 +897,10 @@ :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: "\nContinue?"