Compare commits
2 commits
c7c94581b6
...
3643ba0dfd
Author | SHA1 | Date | |
---|---|---|---|
3643ba0dfd | |||
a866a72100 |
3 changed files with 7 additions and 4 deletions
|
@ -7,3 +7,8 @@ edition = "2021"
|
|||
lightningcss = { version = "1.0.0-alpha.59", default-features = false, features = ["grid"] }
|
||||
pulldown-cmark = { version = "0.12.2", default-features = false, features = ["pulldown-cmark-escape"] }
|
||||
walkdir = "2.5.0"
|
||||
|
||||
[profile.release]
|
||||
codegen-units = 1
|
||||
lto = "fat"
|
||||
panic = "abort"
|
||||
|
|
|
@ -22,8 +22,6 @@ mydata: 123
|
|||
- [ ] Todo
|
||||
- [ ] Won't fix
|
||||
|
||||
[[x] Task inside link](https://dc09.ru)
|
||||
|
||||
> [!WARNING]
|
||||
>
|
||||
> Some important quote
|
||||
|
|
|
@ -298,10 +298,10 @@ pub fn compile_markdown(
|
|||
TaskListMarker(done) => {
|
||||
if done {
|
||||
html.write_all(b"<input type=checkbox checked disabled>")?;
|
||||
write_inline(&mut gmi, state, "[x] ", &mut links)?;
|
||||
gmi.write_all(b"[x] ")?;
|
||||
} else {
|
||||
html.write_all(b"<input type=checkbox disabled>")?;
|
||||
write_inline(&mut gmi, state, "[ ] ", &mut links)?;
|
||||
gmi.write_all(b"[ ] ")?;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue