summaryrefslogtreecommitdiff
path: root/src/library/text/mod.rs
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2022-04-13 13:07:45 +0200
committerLaurenz <laurmaedje@gmail.com>2022-04-13 13:08:46 +0200
commit2279c26543f7edde910fd89a3f8f0710c67249db (patch)
treee9dfaa89954a4e61ffe2ca7a35be251946b14ad4 /src/library/text/mod.rs
parente8dd842c6699c665225c03e904a40887f8424e30 (diff)
Smart quotes
Co-Authored-By: Martin Haug <mhaug@live.de>
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;