Sha256: 552016a28ed456bb703e99e0d81bf9ed1d61b97686406427ec8f4802faab989f

Contents?: true

Size: 1.16 KB

Versions: 1

Compression:

Stored size: 1.16 KB

Contents

# Demonstrate requiring blocks
```opts :(document_opts) +(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

1 entries across 1 versions & 1 rubygems

Version Path
markdown_exec-2.6.0 examples/opts-blocks-require.md