mirror of
https://0xacab.org/anarsec/anarsec.guide.git
synced 2025-06-14 09:39:18 -04:00
typst level 1 page break
This commit is contained in:
parent
8428d86f8b
commit
32784a25be
3 changed files with 3 additions and 7 deletions
|
@ -57,7 +57,6 @@
|
|||
|
||||
// set headings
|
||||
show heading.where(level: 1): it => {
|
||||
pagebreak(weak: true)
|
||||
block(width: 100%)[
|
||||
#set align(center)
|
||||
#set text(size: 22pt, font: "Jost")
|
||||
|
@ -99,7 +98,7 @@
|
|||
}
|
||||
}
|
||||
else if it.dest.starts-with("https://") or it.dest.starts-with("http://") {
|
||||
footnote[#it.dest.trim("https://", at: start).trim("http://", at: start)]
|
||||
footnote[#it.dest.trim("https://", at: start).trim("http://", at: start).trim("www.", at: start)]
|
||||
}
|
||||
else if it.dest.starts-with("/glossary#") or it.dest.starts-with("/glossary/#") {
|
||||
context {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue