aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 2d5b044..420b14d 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -301,6 +301,20 @@ pub struct Constructs {
/// ^^^
/// ```
pub math_text: bool,
+ /// MDX: expression (flow).
+ ///
+ /// ```markdown
+ /// > | {Math.PI}
+ /// ^^^^^^^^^
+ /// ```
+ pub mdx_expression_flow: bool,
+ /// MDX: expression (text).
+ ///
+ /// ```markdown
+ /// > | a {Math.PI} c
+ /// ^^^^^^^^^
+ /// ```
+ pub mdx_expression_text: bool,
/// MDX: JSX (flow).
///
/// ```markdown
@@ -356,6 +370,8 @@ impl Default for Constructs {
list_item: true,
math_flow: false,
math_text: false,
+ mdx_expression_flow: false,
+ mdx_expression_text: false,
mdx_jsx_flow: false,
mdx_jsx_text: false,
thematic_break: true,
@@ -396,6 +412,8 @@ impl Constructs {
code_indented: false,
html_flow: false,
html_text: false,
+ mdx_expression_flow: true,
+ mdx_expression_text: true,
mdx_jsx_flow: true,
mdx_jsx_text: true,
..Self::default()