A MkDocs plugin
Project description
mkdocs-obsidian-excalidraw-plugin
This plugin includes excalidraw markdown files into the markdown files, which are created by obsidian-excalidraw-plugin. It fences it with code-block with excalidraw
-type. In combination with mkdocs-kroki-plugin you can include such files automatically into your website.
Note: All excalidraw markdown files has to have the extension
.excalidraw.md
, otherwise the plugin will not find them.
Setup
Install the plugin using pip:
pip install mkdocs-obsidian-excalidraw-plugin
Activate the plugin in mkdocs.yml
:
plugins:
- search
- obsidian-excalidraw
Note: If you have no
plugins
entry in your config file yet, you'll likely also want to add thesearch
plugin. MkDocs enables it by default if there is noplugins
entry set, but now you have to enable it explicitly.
More information about plugins in the MkDocs documentation.
Template setup for complete obsidian setup
Install the following plugins: (search for them by yourself for more documentation)
- mkdocs-obsidian-bridge
- mkdocs-obsidian-excalidraw-plugin
- mkdocs-obsidian-support-plugin
- mkdocs-kroki-plugin
pip install mkdocs-obsidian-bridge mkdocs-obsidian-excalidraw-plugin mkdocs-obsidian-support-plugin mkdocs-kroki-plugin
And set them up like the following
plugins:
- search
- obsidian-excalidraw:
FencePrefix: ""
- obsidian-support
- obsidian-bridge
- kroki:
FencePrefix: ""
EnableExcalidraw: true
HttpMethod: POST
FileTypes:
- svg
- png
Config
FencePrefix
- Adjust this to your config of kroki. If you do not specify it, it will defaults tokroki-
. It is does not set correctly, kroki-plugin will not find the code block this plugin included.
Usage
See Also
More information about templates here.
More information about blocks here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file mkdocs_obsidian_excalidraw_plugin-0.1.1.tar.gz
.
File metadata
- Download URL: mkdocs_obsidian_excalidraw_plugin-0.1.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
7e7e6af143ebb7fa15cb1b7c9e06ac843db08202ba326b6cf7e78972eaa3b555
|
|
MD5 |
a6f53d626f0fbd614476012745bb9e29
|
|
BLAKE2b-256 |
5e7166bbb0d059a795a6853c68163a17f2a97df3356f40fc3ff3190362e1647b
|
File details
Details for the file mkdocs_obsidian_excalidraw_plugin-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: mkdocs_obsidian_excalidraw_plugin-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.9.21
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
3dd8f70d79c0f24dd2ce0f9380f8d5491fa070164a8877d0eba9c393256aa921
|
|
MD5 |
1d28b0fe133cc3492402246a270a5427
|
|
BLAKE2b-256 |
8dc26af7312d3991197008cab7491de4cfc69ccb3e46c8f0b2108ab5ee8147f2
|