Crates.io | mdbook-emoji |
lib.rs | mdbook-emoji |
version | 0.2.1 |
source | src |
created_at | 2021-08-11 13:43:08.630534 |
updated_at | 2021-08-12 00:34:26.746805 |
description | mdBook preprocessor that replaces colon-separated emoji short codes with Unicode code points, except within code blocks or code spans. |
homepage | |
repository | https://github.com/almereyda/mdbook-emoji |
max_upload_size | |
id | 434767 |
size | 47,563 |
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.
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.