Sha256: aa59260a497beceb5691d977fc54a6568ce731ea10b44003b32351134fa26e2c

Contents?: true

Size: 1.16 KB

Versions: 2

Compression:

Stored size: 1.16 KB

Contents

# Demonstrate requiring blocks
```opts :(document_options) +(custom) +[custom]
menu_divider_color: red     # color to indicate failure
```
```opts :(custom)
menu_divider_color: green   # color to indicate success
```
## Automatic documents options
::: If this text is green, the required Opts block was processed; if this text is red, the required Opts block was NOT processed hidden, name: "(custom)"

## Select this named block to test
::: Select below to trigger. If this text starts with "+++", the required Opts block was processed; name: "custom"
    ```opts :custom
    menu_divider_format: "+++ %{line}"   # format to indicate success
    ```

## Select this nicknamed block to test
::: Select below to trigger. If this text starts with "!!!", the Opts block was processed; name: "[custom]"
This block has a nickname "[custom]". It is executable.
    ```opts :[custom]
    menu_divider_format: "!!! %{line}"   # format to indicate success
    ```

## Select this unnamed block to test
::: Select below to trigger. If this text starts with "@@@", the required Opts block was processed; unnamed
    ```opts
    menu_divider_format: "@@@ %{line}"   # format to indicate success
    ```

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
markdown_exec-2.5.0 examples/opts-blocks-require.md
markdown_exec-2.4.0 examples/opts-blocks-require.md