Convert Obsidian-flavoured markdown to HTML
Project description
obsidian2html
Convert Obsidian-flavoured markdown to HTML.
Installation
pip install obsidian2html
Usage
On the command line:
obsidian2html infile outfile
As a python library:
from obsidian2html import obsidian2html
src = '''
# A simple markdown file
Hello world!
'''
html: str = obsidian2html(src)
print(html)
Features
- Convert internal links:
[[my notes|Notes]] -> <a href="Notes.html">my notes</a> [[a non-obsidian-markdown link|example.pdf]] -> <a href="example.pdf">a non-obsidian-markdown link</a>
Missing features
Basics:
- Support for checklists - https://codepen.io/ouroboros8/pen/KKOzmBX
- comments
%%this is an obsidian markdown inline comment%%
- footnotes
Advanced:
- callouts
- MathJAX
- Tables
- mermaid diagrams
References
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
obsidian2html-0.1.0.tar.gz
(4.0 kB
view details)
Built Distribution
File details
Details for the file obsidian2html-0.1.0.tar.gz
.
File metadata
- Download URL: obsidian2html-0.1.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f92d852bffa0465c388a868ff2b06b8e861bf2cf5438ab9da13be7ebe41a2af4 |
|
MD5 | ec48564cdd0ea8aa38bcde7842ea9923 |
|
BLAKE2b-256 | a358d499a810e738b2c34183ef5cd743484a74e3bdc04c44f6522492ed48c9df |
File details
Details for the file obsidian2html-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: obsidian2html-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bfd3ee55cde7adb5fe05c1877db021a75933324d30157f008eb697d33e59cb5 |
|
MD5 | a4b02825671408a576721deca66af1cd |
|
BLAKE2b-256 | a1845631975b6d793753b4b28ed201e5d22d9d9da412a683f7f346306ca9c965 |