summaryrefslogtreecommitdiff
path: root/src/library/text/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/library/text/mod.rs')
-rw-r--r--src/library/text/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/library/text/mod.rs b/src/library/text/mod.rs
index 1d750689..a25b2827 100644
--- a/src/library/text/mod.rs
+++ b/src/library/text/mod.rs
@@ -3,12 +3,14 @@
mod deco;
mod link;
mod par;
+mod quotes;
mod raw;
mod shaping;
pub use deco::*;
pub use link::*;
pub use par::*;
+pub use quotes::*;
pub use raw::*;
pub use shaping::*;
@@ -72,6 +74,8 @@ impl TextNode {
/// will will be hyphenated if and only if justification is enabled.
#[property(resolve)]
pub const HYPHENATE: Smart<Hyphenate> = Smart::Auto;
+ /// Whether to apply smart quotes.
+ pub const SMART_QUOTES: bool = true;
/// Whether to apply kerning ("kern").
pub const KERNING: bool = true;