https://github.com/ploomber/mkdocs-thebe
https://github.com/ploomber/mkdocs-thebe
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/ploomber/mkdocs-thebe
- Owner: ploomber
- License: apache-2.0
- Created: 2024-04-23T04:34:44.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-24T18:25:56.000Z (over 2 years ago)
- Last Synced: 2025-01-13T04:27:26.254Z (over 1 year ago)
- Language: Python
- Size: 17.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# mkdocs-thebe
MkDocs plugin to turn Python code snippets into interactive examples via
[thebe](https://github.com/executablebooks/thebe)
## Installation
```sh
pip install mkdocs-thebe
```
## Usage
```yaml
# in your mkdocs.yml
plugins:
- mkdocs-thebe:
# endpoint to the server that manages Python processes
baseUrl: https://endpoint.domain.io
```
```yaml
markdown_extensions:
- pymdownx.highlight:
# required!
pygments_lang_class: true
```