Python markdown extension for markup Emoji
Project description
markdown_markup_emoji
Python-Markdown extension for markup of Emoji in the markdown document.
Since it is marked up like <span class="emoji">😃</span>
,
Make your Emoji bigger You can display it.
Installation
Install with pip.
$ pip install markdown_markup_emoji
Usage
It is used as an extension of Python-Markdown.
import markdown
md = markdown.Markdown(extensions=["markdown_markup_emoji.markup_emoji"])
md.convert("markdown text")
Or use from Pelican as Markdown extension.
# pelicanconf.py
MARKDOWN = {
'extension_configs': {
'markdown.extensions.codehilite': {'css_class': 'highlight'},
'markdown.extensions.extra': {},
'markdown.extensions.meta': {},
'markdown_markup_emoji.markup_emoji': {},
},
'output_format': 'html5',
}
Add your style
Since it is marked up like <span class="emoji">😃</span>
,
Add a style to be displayed with a bigger font.
😃
.emoji { font-size: 150%; }
Notice
Since it does not include Emoji font, the display depends on OS. For example, in Windows 7, pictograms may be displayed in black and white, or may not be displayed. Different Emoji may be displayed between iOS and Android.
Unicode Full Emoji List is here, please reference it.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for markdown_markup_emoji-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7e3b12428543fee90ed084cb2d3c5336f069be93193b088c82765e849a38cb7 |
|
MD5 | 42a171e032204a2b87819e0062f2a6a7 |
|
BLAKE2b-256 | 4f013627b2a22aed6d9a868b71cbb7f8ee90fcce1e0d1c64d641ba78bbdc4b33 |
Hashes for markdown_markup_emoji-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7b08b3074dbfe02cd272b4b9f0530e789176dadded3e6defd8e221b7a8526c2 |
|
MD5 | b183eb1e3f0fe0b70b48a473c23a74b8 |
|
BLAKE2b-256 | c197be8f3d2ee74c6a39907da572a6830a31f332cae243f02e62616ceee349d3 |