aboutsummaryrefslogtreecommitdiffstats
path: root/src/construct/raw_text.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-10-12 10:44:33 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-10-12 10:44:33 +0200
commite0485409fca79af0b47af15ebdba7a3df5c1d3d2 (patch)
tree1bc44cf3c11df4e99f555e4efe64facfe786c4c0 /src/construct/raw_text.rs
parent4d6bd4779c082fef900b760e014959a30b16051b (diff)
downloadmarkdown-rs-e0485409fca79af0b47af15ebdba7a3df5c1d3d2.tar.gz
markdown-rs-e0485409fca79af0b47af15ebdba7a3df5c1d3d2.tar.bz2
markdown-rs-e0485409fca79af0b47af15ebdba7a3df5c1d3d2.zip
Refactor to improve some module docs
Diffstat (limited to '')
-rw-r--r--src/construct/raw_text.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/construct/raw_text.rs b/src/construct/raw_text.rs
index 6a35608..9d5fdea 100644
--- a/src/construct/raw_text.rs
+++ b/src/construct/raw_text.rs
@@ -86,9 +86,9 @@
//! Notably, GitHub currently has a really weird crappy client-side regex-based
//! thing.
//! But on your own (math-heavy?) site it can be great!
-//! You can set `options.math_text_single_dollar: false` to improve this, as it
-//! prevents single dollars from being seen as math, and thus prevents normal
-//! dollars in text from being seen as math.
+//! You can set [`parse_options.math_text_single_dollar: false`][parse_options]
+//! to improve this, as it prevents single dollars from being seen as math, and
+//! thus prevents normal dollars in text from being seen as math.
//!
//! ## Tokens
//!
@@ -113,6 +113,7 @@
//! [code_indented]: crate::construct::code_indented
//! [raw_flow]: crate::construct::raw_flow
//! [html_code]: https://html.spec.whatwg.org/multipage/text-level-semantics.html#the-code-element
+//! [parse_options]: crate::ParseOptions
use crate::event::Name;
use crate::state::{Name as StateName, State};