From b4256dc2e1352a2b74f29b2650150cc8b57f54ed Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Thu, 8 Sep 2022 15:46:46 +0200 Subject: Add support for mdx jsx (flow) --- src/lib.rs | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index e0b6da2..2d5b044 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -301,6 +301,13 @@ pub struct Constructs { /// ^^^ /// ``` pub math_text: bool, + /// MDX: JSX (flow). + /// + /// ```markdown + /// > | + /// ^^^^^^^^^^^^^ + /// ``` + pub mdx_jsx_flow: bool, /// MDX: JSX (text). /// /// ```markdown @@ -349,6 +356,7 @@ impl Default for Constructs { list_item: true, math_flow: false, math_text: false, + mdx_jsx_flow: false, mdx_jsx_text: false, thematic_break: true, } @@ -388,6 +396,7 @@ impl Constructs { code_indented: false, html_flow: false, html_text: false, + mdx_jsx_flow: true, mdx_jsx_text: true, ..Self::default() } -- cgit