mdbook-curly-quotes

Crates.iomdbook-curly-quotes
lib.rsmdbook-curly-quotes
version0.4.37
sourcesrc
created_at2020-05-11 21:06:13.746907
updated_at2024-05-14 11:53:17.83148
descriptionmdBook preprocessor that replaces straight quotes with curlyquotes, except within code blocks or code spans.
homepage
repositoryhttps://github.com/arminha/mdbook-curly-quotes
max_upload_size
id240321
size52,967
(arminha)

documentation

README

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.

Commit count: 85

cargo fmt