Skip to main content

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:

Advanced:

  • callouts
  • MathJAX
  • Tables
  • mermaid diagrams

References

Metadata

Release files for obsidian2html 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for obsidian2html 0.1.2
File Size Uploaded Provenance Actions
obsidian2html-0.1.2.tar.gz 4.6 kB Without provenance Details for obsidian2html-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for obsidian2html 0.1.2
File Interpreter ABI Platform Actions
obsidian2html-0.1.2-py3-none-any.whl Python 3 none any Details for obsidian2html-0.1.2-py3-none-any.whl

Total release size: 8.5 kB

Release files / obsidian2html-0.1.2.tar.gz

Download URL obsidian2html-0.1.2.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
4cc1d52dadc3b74823fe940c9840c5ab1449c8bb1b5d1557d06f6292133e9d9b
BLAKE2b-256 checksum
How to use checksums
877f2dbcb60682d76ac861bf228c55234aca012752f358d77d00ca486c402009
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Release files / obsidian2html-0.1.2-py3-none-any.whl

Download URL obsidian2html-0.1.2-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bfb122507e63bd4b725e88861606c2ea4a64698350c7595606f1fa3f5cc746e5
BLAKE2b-256 checksum
How to use checksums
1fb2c196861789cac678a5b7cb627b102e60ca73a5d04a4406f9f10dde309e78
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Security for obsidian2html 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page