Skip to main content

markdown_escaped

A python markdown extension for add HTML escaped symbols support

Extends the Python Markdown. Adds the possibility to use escaped HTML caracters for markdown syntax, such as > instead of > for blockquote.

Install through pip:

pip install markdown_escaped

To enable the markdown_escaped package and use it in your markdown generation just add it like so:

import markdown

result = markdown.markdown(textToRender, extensions=["markdown_escaped",])

List of supported caracters

  • > who is > for blockquote

If you want an other caracter, open an issue or make a PR.

Test string

It is a test:

Yes it works! Really good.

The real test:

> And now ? All is good!

Yeah !

Raw string

'It is a test:\n> Yes it works!\nReally good.\n\nThe real test:\n\n> And now ?\nAll is good!\n\nYeah !'

Expected result

'<p>It is a test:</p>\n<blockquote>\n<p>Yes it works!\nReally good.</p>\n</blockquote>\n<p>The real test:</p>\n<blockquote>\n<p>And now ?\nAll is good!</p>\n</blockquote>\n<p>Yeah !</p>'

Metadata

Release files for markdown-escaped 0.0.1

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

Source distribution (sdist)

Source distribution for markdown-escaped 0.0.1
File Size Uploaded
markdown_escaped-0.0.1.tar.gz 4.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for markdown-escaped 0.0.1
File Interpreter ABI Platform
markdown_escaped-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 10.0 kB

Release files / markdown_escaped-0.0.1.tar.gz

Download URL markdown_escaped-0.0.1.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
5a4d048899469f2f9e3df6482a74a7e16377684bbe79a0e3e20c57ce3232686f
BLAKE2b-256 checksum
How to use checksums
39c7720184bcdf004fe7e4a9850cc0e6224f9a784fea32c94825ee9938850227
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.2

Release files / markdown_escaped-0.0.1-py3-none-any.whl

Download URL markdown_escaped-0.0.1-py3-none-any.whl
Size 5.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
849c2bcfd1cae2e0e0549e41138c6dfe06187c86a5d1904101aa2eb4ca20a6b9
BLAKE2b-256 checksum
How to use checksums
02934483dce6913554954dabd9f9b2628b1d1c9ce428d6e425f08570769317ec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.2

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

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