Implement escaping

This commit is contained in:
Juno Takano 2026-01-07 01:02:57 -03:00
commit c6b43b2c48
4 changed files with 18 additions and 2 deletions

View file

@ -15,7 +15,7 @@ pub mod delimiter {
impl Default for Delimiters {
fn default() -> Self {
Delimiters {
atomic: vec!['`', '|'],
atomic: vec!['`', '|', '\\'],
double: vec!['_', '~'],
flanking: vec!['_', '*', '~', '(', ')', '\'', '"'],
punctuation: vec![',', '.', ';', ':', '?', '!'],