We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 208a5fd commit 2cc7b7cCopy full SHA for 2cc7b7c
src/librustdoc/html/markdown.rs
@@ -56,9 +56,13 @@ pub(crate) fn main_body_opts() -> Options {
56
| Options::ENABLE_SMART_PUNCTUATION
57
}
58
59
-/// A subset of [`main_body_opts()`] used for rendering summaries.
+/// Options for rendering Markdown in summaries (e.g., in search results).
60
pub(crate) fn summary_opts() -> Options {
61
- Options::ENABLE_STRIKETHROUGH | Options::ENABLE_SMART_PUNCTUATION | Options::ENABLE_TABLES
+ Options::ENABLE_TABLES
62
+ | Options::ENABLE_FOOTNOTES
63
+ | Options::ENABLE_STRIKETHROUGH
64
+ | Options::ENABLE_TASKLISTS
65
+ | Options::ENABLE_SMART_PUNCTUATION
66
67
68
/// When `to_string` is called, this struct will emit the HTML corresponding to
0 commit comments