add URL function (#42)
This commit is contained in:
parent
dd902adebd
commit
4084960737
|
@ -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
|
// start of template pages and styles
|
||||||
#let dhbw-template(config, body) = [
|
#let dhbw-template(config, body) = [
|
||||||
#let config = validate-config(config)
|
#let config = validate-config(config)
|
||||||
|
|
|
@ -68,6 +68,10 @@ $
|
||||||
lorem(200),
|
lorem(200),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
#url("https://github.com", "text (github.com)")
|
||||||
|
|
||||||
|
#lorem(50)
|
||||||
|
|
||||||
#figure(
|
#figure(
|
||||||
table(
|
table(
|
||||||
columns: 3,
|
columns: 3,
|
||||||
|
|
Loading…
Reference in New Issue