Sha256: dfb89119a61537a9cfef6eeeb299570b9508c7b78d81cfd602235f24898de1d9
Contents?: true
Size: 1.65 KB
Versions: 2
Compression:
Stored size: 1.65 KB
Contents
# Automated tests ## Shell blocks ```bash :bash1 echo "bash1!" ``` ## Link Vars | inputs to MDE| expected output | -| - | '[VARIABLE1]'| ' VARIABLE1: 1' | '[VARIABLE1]' '(echo-VARIABLE1)'| ' VARIABLE1: 1 VARIABLE1: 1' ```bash :(echo-VARIABLE1) for var_name in "VARIABLE1"; do # echo -e "\033[0;33m${var_name}\033[0;31m:\033[0m ${!var_name}" echo -e "${var_name}: ${!var_name}" done ``` ```link :[VARIABLE1] block: (echo-VARIABLE1) vars: VARIABLE1: 1 ``` ## Nested wraps | inputs to MDE| expected output | -| - | '[single]'| ' single-body' | '[inverted-nesting]'| ' inner-before outer-before single-body outer-after inner-after' ```bash :[single] +{outer} echo single-body ``` Expect output: "outer-before", "inner-before", "nested body", "inner-after", and "outer-after". ```bash :[nested] +{outer} +{inner} echo nested-body ``` ```bash :[inverted-nesting] +{inner} +{outer} echo inverted-nesting ``` ```bash :{inner} echo inner-before ``` ```bash :{inner-after} echo inner-after ``` ```bash :{outer} echo outer-before ``` ```bash :{outer-after} echo outer-after ``` @import specs-import.md / Import `{wrap1}` blocks. ```bash :[test-wrap-from-import] +{wrap-from-import} echo "test-wrap-from-import" ``` / Include a wrapped block. ```bash :[test-require-wrapped-block] +[single] echo "test-require-wrapped-block" ``` ```opts :(disable_dump_*) dump_blocks_in_file: false dump_dependencies: false dump_inherited_block_names: false dump_inherited_dependencies: false dump_inherited_lines: false dump_menu_blocks: false ``` @import bats-document-configuration.md ```opts :(document_options) +(disable_dump_*) menu_note_color: 'plain' menu_with_inherited_lines: false ```
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
markdown_exec-2.5.0 | docs/dev/specs.md |
markdown_exec-2.4.0 | docs/dev/specs.md |