aboutsummaryrefslogtreecommitdiffstats
path: root/src/content/string.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-18 16:31:14 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-07-18 16:31:14 +0200
commit5403261e8213f68633a09fc3e9bc2e6e2cd777b2 (patch)
treebb3a6419ef42f7611c2cb24fe7024228f579331b /src/content/string.rs
parent03544cafaa82ba4bd7e0bc3372fc59549a8dc0cc (diff)
downloadmarkdown-rs-5403261e8213f68633a09fc3e9bc2e6e2cd777b2.tar.gz
markdown-rs-5403261e8213f68633a09fc3e9bc2e6e2cd777b2.tar.bz2
markdown-rs-5403261e8213f68633a09fc3e9bc2e6e2cd777b2.zip
Add support for turning off constructs
Diffstat (limited to '')
-rw-r--r--src/content/string.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/content/string.rs b/src/content/string.rs
index cc8ee53..f2650df 100644
--- a/src/content/string.rs
+++ b/src/content/string.rs
@@ -19,6 +19,7 @@ use crate::construct::{
use crate::tokenizer::{Code, State, StateFnResult, Tokenizer};
const MARKERS: [Code; 5] = [
+ // To do: build this vec based on whether they are enabled?
Code::VirtualSpace, // `whitespace`
Code::Char('\t'), // `whitespace`
Code::Char(' '), // `whitespace`