Skip to main content

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:

Advanced:

  • callouts
  • MathJAX
  • Tables
  • mermaid diagrams

References

Project details


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)

Uploaded Source

Built Distribution

obsidian2html-0.1.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

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

Hashes for obsidian2html-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f92d852bffa0465c388a868ff2b06b8e861bf2cf5438ab9da13be7ebe41a2af4
MD5 ec48564cdd0ea8aa38bcde7842ea9923
BLAKE2b-256 a358d499a810e738b2c34183ef5cd743484a74e3bdc04c44f6522492ed48c9df

See more details on using hashes here.

File details

Details for the file obsidian2html-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for obsidian2html-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8bfd3ee55cde7adb5fe05c1877db021a75933324d30157f008eb697d33e59cb5
MD5 a4b02825671408a576721deca66af1cd
BLAKE2b-256 a1845631975b6d793753b4b28ed201e5d22d9d9da412a683f7f346306ca9c965

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page