Sha256: 2b094d6ec36bc89577a760102008a391140a952d7daef67cc22141d7d0f80044

Contents?: true

Size: 1.19 KB

Versions: 3

Compression:

Stored size: 1.19 KB

Contents

# Demonstrate requiring blocks
@import example-document-opts.md
```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

3 entries across 3 versions & 1 rubygems

Version Path
markdown_exec-2.7.2 examples/opts-blocks-require.md
markdown_exec-2.7.1 examples/opts-blocks-require.md
markdown_exec-2.7.0 examples/opts-blocks-require.md