| Crates.io | mdbook-curly-quotes |
| lib.rs | mdbook-curly-quotes |
| version | 0.4.52 |
| created_at | 2020-05-11 21:06:13.746907+00 |
| updated_at | 2025-08-11 20:31:27.926724+00 |
| description | mdBook preprocessor that replaces straight quotes with curlyquotes, except within code blocks or code spans. |
| homepage | |
| repository | https://github.com/arminha/mdbook-curly-quotes |
| max_upload_size | |
| id | 240321 |
| size | 51,570 |
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.
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.