Skip to content

Disable All Execution #59

Open
Open
@loricah

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

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