#mdbook #markdown

app mdbook-curly-quotes

mdBook preprocessor that replaces straight quotes with curlyquotes, except within code blocks or code spans

3 unstable releases

0.4.7 Mar 20, 2021
0.4.2 Aug 3, 2020
0.3.0 May 11, 2020

#31 in #mdbook

Download history 1/week @ 2022-02-02 1/week @ 2022-02-16 3/week @ 2022-02-23 12/week @ 2022-03-16 7/week @ 2022-03-23 2/week @ 2022-04-06 1/week @ 2022-04-20 21/week @ 2022-04-27 15/week @ 2022-05-04 48/week @ 2022-05-11 15/week @ 2022-05-18

99 downloads per month

MPL-2.0 license

15KB
153 lines

mdbook-curly-quotes

build dependency status Crates.io

mdBook preprocessor that replaces straight quotes with curly quotes, except within code blocks or code spans.

It does the same as the curly-quotes option of the mdBook HTML renderer. The only advantage is that it can be applied to any renderer.

Usage

The following example configures mdbook-curly-quotes as a preprocessor for the epub renderer.

[book]
title = "Example book"
author = "John Doe"

# add the curly-quotes preprocessor
[preprocessor.curly-quotes]
# select renderers
renderer = ["epub"]

[output.epub]

More on configuring preprocessors can be found in the mdBook Documentation.

Dependencies

~11MB
~199K SLoC