add URL function (#42)

This commit is contained in:
Sven Vogel 2024-08-20 14:17:50 +02:00
parent dd902adebd
commit 42e9305222
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,