Skip to content

Commit

Permalink
release: version 0.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiserY committed Mar 21, 2024
1 parent 57d162a commit 0b753eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mdbook-typst-pdf"
version = "0.3.4"
version = "0.3.5"
edition = "2021"
repository = "https://github.com/KaiserY/mdbook-typst-pdf"

Expand Down
4 changes: 2 additions & 2 deletions src/convert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ fn convert_book_item(
)
} else {
format!(
"{{\n show heading: none\n set text(size: 0pt, fill: white)\n heading(numbering: none, level: {}, outlined: true)[{}]\n}} <{}.html>",
"#{{\n show heading: none\n set text(size: 0pt, fill: white)\n heading(numbering: none, level: {}, outlined: true)[{}]\n}} <{}.html>",
number.len(),
ch.name,
label
)
}
} else {
format!(
"{{\n show heading: none\n set text(size: 0pt, fill: white)\n heading(numbering: none, level: 1, outlined: true)[{}]\n}} <{}.html>",
"#{{\n show heading: none\n set text(size: 0pt, fill: white)\n heading(numbering: none, level: 1, outlined: true)[{}]\n}} <{}.html>",
ch.name, label,
)
};
Expand Down

0 comments on commit 0b753eb

Please sign in to comment.