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 {
1087
1087
/// languages within expressions.
1088
1088
///
1089
1089
/// It only makes sense to pass this when compiling to a syntax tree
1090
- /// with [`to_mdast()`][].
1090
+ /// with [`to_mdast()`][crate::to_mdast() ].
1091
1091
///
1092
1092
/// For an example that adds support for JavaScript with SWC, see
1093
1093
/// `tests/test_utils/mod.rs`.
@@ -1103,7 +1103,7 @@ pub struct ParseOptions {
1103
1103
/// > MDX that is aware of, say, Rust, or other programming languages.
1104
1104
///
1105
1105
/// It only makes sense to pass this when compiling to a syntax tree
1106
- /// with [`to_mdast()`][].
1106
+ /// with [`to_mdast()`][crate::to_mdast() ].
1107
1107
///
1108
1108
/// For an example that adds support for JavaScript with SWC, see
1109
1109
/// `tests/test_utils/mod.rs`.
Original file line number Diff line number Diff line change @@ -44,7 +44,8 @@ pub enum Signal {
44
44
45
45
/// Signature of a function that parses MDX ESM.
46
46
///
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
48
49
/// ESM according to a certain grammar (typically, a programming language).
49
50
pub type EsmParse = dyn Fn ( & str ) -> Signal ;
50
51
@@ -79,7 +80,8 @@ pub enum ExpressionKind {
79
80
80
81
/// Signature of a function that parses MDX expressions.
81
82
///
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
83
85
/// expressions according to a certain grammar (typically, a programming
84
86
/// language).
85
87
///
You can’t perform that action at this time.
0 commit comments