Obsidian callouts for Python-Markdown
This is an extension for Python-Markdown which allows you to use Obsidian-style callouts:
> [!warning]
> Here's a callout block.
> [!tip] Callouts can have custom titles
> Like this one.
It will be rendered kinda like this:
For a full reference, please, see the Obsidian's documentation on this.
Usage
Simply enable the extension like this:
import markdown
md = markdown.Markdown(extensions=['obsidian_callouts'])
print(md.convertFile('page.md'))
MkDocs
It can be used with MkDocs as following:
# mkdocs.yml
markdown_extensions:
- obsidian_callouts
It is also installed along with my mkdocs-obsidian-bridge.
Credits
During the implementation of this plugin, I was using the official Python-Markdown as an inspiration and the example.
Metadata
Release files for obsidian-callouts 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| obsidian_callouts-1.0.1.tar.gz | 10.8 kB | With provenance | Details for obsidian_callouts-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| obsidian_callouts-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for obsidian_callouts-1.0.1-py3-none-any.whl |
Total release size: 15.9 kB
Release files / obsidian_callouts-1.0.1.tar.gz
| Download URL | obsidian_callouts-1.0.1.tar.gz |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4ed5ddb9dbdd2340d845cd5efd412fbfe9011ccd7c2040b27f62d0998b0cef1d
|
|
BLAKE2b-256 checksum How to use checksums |
cb9d2611de6c8ded3bab57fa72558e73d173db6e0458580363dfb9b1e2906d4b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 13, 2025.
Transparency logRelease files / obsidian_callouts-1.0.1-py3-none-any.whl
| Download URL | obsidian_callouts-1.0.1-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a373e8be931c2cf574990f57061db5f724755f27aeb3aac23eb7436fde7f819b
|
|
BLAKE2b-256 checksum How to use checksums |
66ec3096a14196b84b1846be8721d12ed60ecb3b1f133f90339160119096ce17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 13, 2025.
Transparency logSecurity for obsidian-callouts 1.0.1
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for obsidian_callouts-1.0.1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 13, 2025.
Transparency logA 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.