Skip to content

arminha/mdbook-curly-quotes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

mdBook preprocessor that replaces straight quotes with curly quotes

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages