Skip to content

Commit

Permalink
Remove ENABLE_MATH option from pulldown_cmark (#21466)
Browse files Browse the repository at this point in the history
  • Loading branch information
spotikhanov committed Jan 4, 2025
1 parent 5f1eee3 commit 8033437
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/markdown/src/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pub fn parse_markdown(text: &str) -> Vec<(Range<usize>, MarkdownEvent)> {
let mut options = Options::all();
options.remove(pulldown_cmark::Options::ENABLE_DEFINITION_LIST);
options.remove(pulldown_cmark::Options::ENABLE_YAML_STYLE_METADATA_BLOCKS);
options.remove(pulldown_cmark::Options::ENABLE_MATH);

let mut events = Vec::new();
let mut within_link = false;
Expand Down

0 comments on commit 8033437

Please sign in to comment.