Skip to content

Commit 97a1d3d

Browse files
restore #horizontalrule in definitions.typ
upstream pandoc no longer has a definitions.typst but we are keeping definitions.typ they moved horizontalrule into their default.typst base template and IMO our template.typ is already so dissimilar from their default.typst that we might as well keep this where it was
1 parent ac2ecdf commit 97a1d3d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/resources/formats/typst/pandoc/quarto/definitions.typ

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
#block(inset: (left: 1.5em, top: 0.2em, bottom: 0.2em))[#body]
55
]
66

7+
#let horizontalrule = line(start: (25%,0%), end: (75%,0%))
8+
79
#let endnote(num, contents) = [
810
#stack(dir: ltr, spacing: 3pt, super[#num], contents)
911
]

src/resources/formats/typst/pandoc/typst.template

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
$definitions.typst()$
2-
31
#let horizontalrule = line(start: (25%,0%), end: (75%,0%))
42

53
#show terms: it => {

0 commit comments

Comments
 (0)