File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -1087,7 +1087,7 @@ pub struct ParseOptions {
10871087 /// languages within expressions.
10881088 ///
10891089 /// It only makes sense to pass this when compiling to a syntax tree
1090- /// with [`to_mdast()`][].
1090+ /// with [`to_mdast()`][crate::to_mdast() ].
10911091 ///
10921092 /// For an example that adds support for JavaScript with SWC, see
10931093 /// `tests/test_utils/mod.rs`.
@@ -1103,7 +1103,7 @@ pub struct ParseOptions {
11031103 /// > MDX that is aware of, say, Rust, or other programming languages.
11041104 ///
11051105 /// It only makes sense to pass this when compiling to a syntax tree
1106- /// with [`to_mdast()`][].
1106+ /// with [`to_mdast()`][crate::to_mdast() ].
11071107 ///
11081108 /// For an example that adds support for JavaScript with SWC, see
11091109 /// `tests/test_utils/mod.rs`.
Original file line number Diff line number Diff line change @@ -44,7 +44,8 @@ pub enum Signal {
4444
4545/// Signature of a function that parses MDX ESM.
4646///
47- /// Can be passed as `mdx_esm_parse` in [`ParseOptions`][] to support
47+ /// Can be passed as `mdx_esm_parse` in
48+ /// [`ParseOptions`][crate::configuration::ParseOptions] to support
4849/// ESM according to a certain grammar (typically, a programming language).
4950pub type EsmParse = dyn Fn ( & str ) -> Signal ;
5051
@@ -79,7 +80,8 @@ pub enum ExpressionKind {
7980
8081/// Signature of a function that parses MDX expressions.
8182///
82- /// Can be passed as `mdx_expression_parse` in [`ParseOptions`][] to support
83+ /// Can be passed as `mdx_expression_parse` in
84+ /// [`ParseOptions`][crate::configuration::ParseOptions] to support
8385/// expressions according to a certain grammar (typically, a programming
8486/// language).
8587///
You can’t perform that action at this time.
0 commit comments