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.
Release files for markdown-markup-emoji 0.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| markdown_markup_emoji-0.2.2.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| markdown_markup_emoji-0.2.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.8 kB
Release files / markdown_markup_emoji-0.2.2.tar.gz
| Download URL | markdown_markup_emoji-0.2.2.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
210b053f4e089ea4b8e524c27c3695cd9aabde7cd8dca49deb5891e1bd0666de
|
|
BLAKE2b-256 checksum How to use checksums |
5facf8194f1783f35ef207947d1e416c1c4117263e16ed8c1054342bf518901e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.3
|
Release files / markdown_markup_emoji-0.2.2-py3-none-any.whl
| Download URL | markdown_markup_emoji-0.2.2-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
004ffafa9996a3b78f4c99cbe222187df95610810b99cca85b07c6b6e7e6d81b
|
|
BLAKE2b-256 checksum How to use checksums |
bf7a237ab6fe10606361040cde7a997df8daf6d5f455ca79a6247e83553667cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.33.0 CPython/3.7.3
|