pawamoy / pawamoy/markdown-exec

Disable All Execution

Open
#59 2 comments 3 reactions 1 assignee View on GitHub

@pawamoy is already working on this.

Since Jun 20, 2024.

feature insiders
Dominant language
Python
Stars
174
Forks
21
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.