Skip to content

Commit

Permalink
Bump comrak to v0.35 (support info/warning/etc blocks)
Browse files Browse the repository at this point in the history
Signed-off-by: Nico Burns <[email protected]>
  • Loading branch information
nicoburns committed Jan 24, 2025
1 parent adc5f99 commit c0c59a3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,11 @@ codegen-units = 1
strip = true
incremental = false

[profile.sizeopt]
[profile.p2]
inherits = "production"
opt-level = 2

[profile.small]
inherits = "production"
opt-level = "z"
panic = "abort"
Expand Down
2 changes: 1 addition & 1 deletion apps/readme/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ tokio = { workspace = true, features = ["rt", "rt-multi-thread"] }
reqwest = { workspace = true }
url = { workspace = true }
winit = { workspace = true }
comrak = { version = "0.33", default-features = false }
comrak = { version = "0.35", default-features = false }
notify = "8.0.0"
1 change: 1 addition & 0 deletions apps/readme/src/markdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ pub(crate) fn markdown_to_html(contents: String) -> String {
description_lists: false,
front_matter_delimiter: None,
multiline_block_quotes: false,
alerts: true,
..ExtensionOptions::default()
},
render: RenderOptions {
Expand Down

0 comments on commit c0c59a3

Please sign in to comment.