Sha256: 84ad7161cac85d24bc2af93ac3ed05289e83271e2ab93979bcc1c12463e03912

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)"

## Click this named block to test
::: Click 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
    ```

## Click this nicknamed block to test
::: Click 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
    ```

## Click this unnamed block to test
::: Click 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.3.0 examples/opts-blocks-require.md
markdown_exec-2.2.0 examples/opts-blocks-require.md