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>'

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

markdown_escaped-0.0.1.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

markdown_escaped-0.0.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file markdown_escaped-0.0.1.tar.gz.

File metadata

  • Download URL: markdown_escaped-0.0.1.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.2

File hashes

Hashes for markdown_escaped-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5a4d048899469f2f9e3df6482a74a7e16377684bbe79a0e3e20c57ce3232686f
MD5 7c12cbe00fa2a64918eb47a35004f444
BLAKE2b-256 39c7720184bcdf004fe7e4a9850cc0e6224f9a784fea32c94825ee9938850227

See more details on using hashes here.

File details

Details for the file markdown_escaped-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for markdown_escaped-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 849c2bcfd1cae2e0e0549e41138c6dfe06187c86a5d1904101aa2eb4ca20a6b9
MD5 3a17b926653ddc9cf0972dd0115cfb57
BLAKE2b-256 02934483dce6913554954dabd9f9b2628b1d1c9ce428d6e425f08570769317ec

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page