add URL function (#42)
Gitea Action for checking typst compilation / run-ci-linux (push) Successful in 26s Details
release / release (push) Successful in 1m11s Details

This commit is contained in:
Sven Vogel 2024-08-20 14:17:50 +02:00
parent dd902adebd
commit 4084960737
2 changed files with 8 additions and 0 deletions

View File

@ -39,6 +39,10 @@
)
}
#let url(label, content) = {
link(label)[#underline(offset: 2pt, stroke: 0.5pt + blue, text(fill: blue, content))]
}
// start of template pages and styles
#let dhbw-template(config, body) = [
#let config = validate-config(config)

View File

@ -68,6 +68,10 @@ $
lorem(200),
)
#url("https://github.com", "text (github.com)")
#lorem(50)
#figure(
table(
columns: 3,