CHANGELOG.md in markdown_exec-1.3.8 vs CHANGELOG.md in markdown_exec-1.3.9

- old
+ new

@@ -1,7 +1,46 @@ # Changelog +## [1.3.9] - 2023-10-29 + +Add block types for linking and variable control + +Rename options to match use. + +### Added + +- Pass-through arguments after "--" to the executed script. + See document `examples/pass-through.md`. + +- Add RGB color specification to basic ANSI color names. + Foreground R, G, and B values are encoded in the name "fg_rgb_R_G_B" with their decimal values. + e.g. red = "fg_rgb_255_0_0" + e.g. green = "fg_rgb_0_255_0" + e.g. blue = "fg_rgb_0_0_255" + +- Add a "link" fenced code block type as a menu choice to load a different document. + The `link` block can specify: + - environment variables and values to set prior to loading the document, + - a block name to execute in the loaded document. + In the resulting menu, an automatic option (Back) allows the user to return to the original document. + See documents `examples/linked1.md`, `examples/linked2.md`. + +- Add an "opts" fenced code block type as a menu choice to set current MDE options. + See document `examples/opts.md`. + +- Add a "vars" fenced code block type as a menu choice to set current environment variables. + See document `examples/vars.md`. + These blocks can be hidden blocks and required in a script. + +- Add a "wrap" fenced code block type to facilitate script generation. + See document `examples/wrap.md`. + These blocks are hidden and can be required by one or more blocks. + +### Changed + +- Rename RegExp options to match use. + ## [1.3.8] - 2023-10-20 ### Added - Options for hidden, included, and wrapped blocks @@ -228,11 +267,11 @@ | YAML Name | Environment Variable | Default | | :--- | :--- | :--- | | block_name_hidden_match | MDE_BLOCK_NAME_HIDDEN_MATCH | `^\(.+\)$` | | block_name_match | MDE_BLOCK_NAME_MATCH | `:(?<title>\S+)( \|$)` | | block_required_scan | MDE_BLOCK_REQUIRED_SCAN | `\+\S+` | -| fenced_start_and_end_match | MDE_FENCED_START_AND_END_MATCH | ``^`{3,}`` | -| fenced_start_ex_match | MDE_FENCED_START_EX_MATCH | ``^`{3,}(?<shell>[^`\s]*) *(?<name>.*)$`` | +| fenced_start_and_end_regex | MDE_FENCED_START_AND_END_REGEX | ``^`{3,}`` | +| fenced_start_extended_regex | MDE_FENCED_START_EXTENDED_REGEX | ``^`{3,}(?<shell>[^`\s]*) *(?<name>.*)$`` | | heading1_match | MDE_HEADING1_MATCH | `^# *(?<name>[^#]*?) *$` | | heading2_match | MDE_HEADING2_MATCH | `^## *(?<name>[^#]*?) *$` | | heading3_match | MDE_HEADING3_MATCH | `^### *(?<name>.+?) *$` | | md_filename_glob | MDE_MD_FILENAME_GLOB | `*.[Mm][Dd]` | | md_filename_match | MDE_MD_FILENAME_MATCH | `.+\\.md` |