aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-10-14 09:35:42 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-10-14 09:35:42 +0200
commit930630506c6d42250b5fe6b883ac65b2e9ba668b (patch)
tree8eacad920edcd9db6e303ec6c4be67b1d3aae96b /src/lib.rs
parent6263c957b09eb559d68ce4251bdc94426a3b1b0c (diff)
downloadmarkdown-rs-930630506c6d42250b5fe6b883ac65b2e9ba668b.tar.gz
markdown-rs-930630506c6d42250b5fe6b883ac65b2e9ba668b.tar.bz2
markdown-rs-930630506c6d42250b5fe6b883ac65b2e9ba668b.zip
Add some more tests on mdx and indented code
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index bc235c3..3e3407a 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -493,6 +493,9 @@ pub struct Constructs {
/// ^^^^^^^^^^^^^
/// ```
///
+ /// > πŸ‘‰ **Note**: You *must* pass `html_flow: false` to use this,
+ /// > as it’s preferred when on over `mdx_jsx_flow`.
+ ///
/// > πŸ‘‰ **Note**: You *can* pass
/// > [`mdx_expression_parse`][MdxExpressionParse] in [`ParseOptions`][]
/// > too, to parse expressions in JSX according to a certain grammar
@@ -507,6 +510,9 @@ pub struct Constructs {
/// ^^^^^^^^^^^^^
/// ```
///
+ /// > πŸ‘‰ **Note**: You *must* pass `html_text: false` to use this,
+ /// > as it’s preferred when on over `mdx_jsx_text`.
+ ///
/// > πŸ‘‰ **Note**: You *can* pass
/// > [`mdx_expression_parse`][MdxExpressionParse] in [`ParseOptions`][]
/// > too, to parse expressions in JSX according to a certain grammar