4 releases
0.2.1 | Aug 12, 2021 |
---|---|
0.2.0 | Aug 11, 2021 |
0.1.1 | Aug 11, 2021 |
0.1.0 | Aug 11, 2021 |
#103 in #emoji
15KB
157 lines
mdbook-emoji
mdBook preprocessor that replaces emoji shortcodes with their Unicode code points, except within code blocks or code spans.
It adds an emoji option for mdBook.
Usage
The following example configures mdbook-emoji
as a preprocessor for the HTML renderer.
[book]
title = "Example book"
author = "John Doe"
# add the emoji preprocessor
[preprocessor.emoji]
# select renderers
renderer = ["html"]
[output.html]
More on configuring preprocessors can be found in the mdBook Documentation.
Dependencies
~15–26MB
~394K SLoC