Skip to content

Disable All Execution #59

Description

@loricah

Describe the solution you'd like

I’d like to see some global argument that I can specify in my mkdocs.yaml or somewhere else that disables all execution, yet still renders the code blocks properly.

Describe alternatives you've considered

With mkdocs versions greater than 1.6, I can add the following to the plugin:

plugins:
    - markdown-exec:
            enabled: !ENV [FILE_EXAMPLES, false]

but this completely breaks the results.

Edit: spelling

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

featureNew feature or requestinsidersCandidate for Insiders

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions