Skip to content

Feature request: default behaviour for code blocs #24

@andynameistaken

Description

@andynameistaken

I'm using Code Emiter plugin for Obsidian which allows me to run code from code blocks, when I'm writing notes which I later publish to mkdocs with material theme.
Could you provide option for default behaviour for codeblocks?

Example:

Block with exec=on doesn't allow Code emitter to run

```python exec="on"
print("Hello Markdown!")
```

Maybe some config in mkdocs.yml allowing to execute regular codeblock might be good idea?
It would be nice, because:

  • documets will be more portable
  • person can focus more on what to write and not how to do it (most important thing I think)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions