implicit body
This commit is contained in:
4
main.typ
4
main.typ
@@ -7,7 +7,8 @@
|
|||||||
category: "General",
|
category: "General",
|
||||||
authors: ("Jane Doe", "John Smith"),
|
authors: ("Jane Doe", "John Smith"),
|
||||||
date: datetime(year: 2026, month: 5, day: 5),
|
date: datetime(year: 2026, month: 5, day: 5),
|
||||||
)[
|
)
|
||||||
|
|
||||||
= 1. Introduction
|
= 1. Introduction
|
||||||
This document demonstrates the `rfc-typst` package. It provides a clean,
|
This document demonstrates the `rfc-typst` package. It provides a clean,
|
||||||
RFC-compliant layout with automatic headers, footers, and structured headings.
|
RFC-compliant layout with automatic headers, footers, and structured headings.
|
||||||
@@ -32,4 +33,3 @@
|
|||||||
|
|
||||||
= 4. References
|
= 4. References
|
||||||
#link("https://datatracker.ietf.org/doc/html/rfc8446")[RFC 8446]
|
#link("https://datatracker.ietf.org/doc/html/rfc8446")[RFC 8446]
|
||||||
]
|
|
||||||
|
|||||||
2
rfc.typ
2
rfc.typ
@@ -7,7 +7,6 @@
|
|||||||
authors: (),
|
authors: (),
|
||||||
date: datetime.today(),
|
date: datetime.today(),
|
||||||
frontmatter: content,
|
frontmatter: content,
|
||||||
body
|
|
||||||
) = {
|
) = {
|
||||||
set text(font: "DejaVu Sans Mono")
|
set text(font: "DejaVu Sans Mono")
|
||||||
show heading: set text(size: 12pt )
|
show heading: set text(size: 12pt )
|
||||||
@@ -56,5 +55,4 @@
|
|||||||
pagebreak()
|
pagebreak()
|
||||||
}}
|
}}
|
||||||
|
|
||||||
body
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user