format with typstyle (#40)
This commit is contained in:
parent
08a6eaf79f
commit
b1aca1b18b
|
@ -80,10 +80,10 @@ SOFTWARE.*/
|
|||
let gloss = __query_labels_with_key(here(), key, before: true)
|
||||
|
||||
let is_first = gloss == ()
|
||||
let entlongplural = entry.at("longplural", default: "");
|
||||
let entlongplural = entry.at("longplural", default: "")
|
||||
let entlong = if entlongplural == [] or entlongplural == "" {
|
||||
// if the entry long plural is not provided, then fallback to adding 's' suffix
|
||||
let entlong = entry.at("long", default: "");
|
||||
let entlong = entry.at("long", default: "")
|
||||
if entlong != [] and entlong != "" {
|
||||
[#entlong#suffix]
|
||||
} else {
|
||||
|
@ -93,7 +93,7 @@ SOFTWARE.*/
|
|||
[#entlongplural]
|
||||
}
|
||||
|
||||
let entplural = entry.at("plural", default: "");
|
||||
let entplural = entry.at("plural", default: "")
|
||||
let short = if entplural == [] or entplural == "" {
|
||||
[#entry.short#suffix]
|
||||
} else {
|
||||
|
@ -187,7 +187,10 @@ SOFTWARE.*/
|
|||
if hasLong and hasDesc [:]
|
||||
if hasDesc [ #desc ] else [. ]
|
||||
if disable-back-references != true {
|
||||
term_references.map(x => x.location()).sorted(key: x => x.page()).fold(
|
||||
term_references
|
||||
.map(x => x.location())
|
||||
.sorted(key: x => x.page())
|
||||
.fold(
|
||||
(values: (), pages: ()),
|
||||
((values, pages), x) => if pages.contains(x.page()) {
|
||||
(values: values, pages: pages)
|
||||
|
@ -196,16 +199,19 @@ SOFTWARE.*/
|
|||
pages.push(x.page())
|
||||
(values: values, pages: pages)
|
||||
},
|
||||
).values.map(x => {
|
||||
let page-numbering = x.page-numbering();
|
||||
)
|
||||
.values
|
||||
.map(x => {
|
||||
let page-numbering = x.page-numbering()
|
||||
if page-numbering == none {
|
||||
page-numbering = "1"
|
||||
}
|
||||
link(x)[#numbering(page-numbering, ..counter(page).at(x))]
|
||||
}
|
||||
).join(", ")
|
||||
}
|
||||
)
|
||||
.join(", ")
|
||||
}
|
||||
},
|
||||
)
|
||||
}
|
||||
}
|
||||
|
@ -215,6 +221,8 @@ SOFTWARE.*/
|
|||
]
|
||||
}
|
||||
}
|
||||
if enable-group-pagebreak { pagebreak(weak: true) }
|
||||
if enable-group-pagebreak {
|
||||
pagebreak(weak: true)
|
||||
}
|
||||
}
|
||||
};
|
|
@ -17,34 +17,40 @@
|
|||
for (k, v) in entries.pairs() {
|
||||
assert(
|
||||
type(v) == dictionary,
|
||||
message: "The glossary entry `" + k + "` is not a dictionary")
|
||||
message: "The glossary entry `" + k + "` is not a dictionary",
|
||||
)
|
||||
|
||||
for key in v.keys() {
|
||||
assert(
|
||||
key in ("short", "long", "desc", "group"),
|
||||
message: "Found unexpected key `" + key + "` in glossary entry `" + k)
|
||||
message: "Found unexpected key `" + key + "` in glossary entry `" + k,
|
||||
)
|
||||
}
|
||||
|
||||
assert(
|
||||
type(v.short) == str,
|
||||
message: "The short form of glossary entry `" + k + "` is not a string")
|
||||
message: "The short form of glossary entry `" + k + "` is not a string",
|
||||
)
|
||||
|
||||
if "long" in v {
|
||||
assert(
|
||||
type(v.long) == str,
|
||||
message: "The long form of glossary entry `" + k + "` is not a string")
|
||||
message: "The long form of glossary entry `" + k + "` is not a string",
|
||||
)
|
||||
}
|
||||
|
||||
if "desc" in v {
|
||||
assert(
|
||||
type(v.desc) == str,
|
||||
message: "The description of glossary entry `" + k + "` is not a string")
|
||||
message: "The description of glossary entry `" + k + "` is not a string",
|
||||
)
|
||||
}
|
||||
|
||||
if "group" in v {
|
||||
assert(
|
||||
type(v.group) == str,
|
||||
message: "The optional group of glossary entry `" + k + "` is not a string")
|
||||
message: "The optional group of glossary entry `" + k + "` is not a string",
|
||||
)
|
||||
} else {
|
||||
let group = if "long" in v {
|
||||
if (context text.lang) == "de" {
|
||||
|
@ -69,6 +75,6 @@
|
|||
short: eval(entry.short, mode: "markup"),
|
||||
long: eval(entry.at("long", default: ""), mode: "markup"),
|
||||
desc: eval(entry.at("desc", default: ""), mode: "markup"),
|
||||
group: entry.at("group", default: "")
|
||||
group: entry.at("group", default: ""),
|
||||
))
|
||||
}
|
|
@ -51,12 +51,14 @@
|
|||
#set document(
|
||||
author: config.author.name,
|
||||
keywords: config.thesis.keywords,
|
||||
title: config.thesis.title)
|
||||
title: config.thesis.title,
|
||||
)
|
||||
|
||||
// configure text locale
|
||||
#set text(
|
||||
lang: config.lang,
|
||||
region: config.region)
|
||||
region: config.region,
|
||||
)
|
||||
|
||||
// preppend title page
|
||||
#new_title_page(config)
|
||||
|
@ -83,7 +85,8 @@
|
|||
print-glossary(
|
||||
disable-back-references: true,
|
||||
enable-group-pagebreak: true,
|
||||
glossary(config.thesis.glossary))
|
||||
glossary(config.thesis.glossary),
|
||||
)
|
||||
|
||||
pagebreak(weak: true)
|
||||
}
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
// Edited: 28.06.2024
|
||||
// License: MIT
|
||||
|
||||
#let new_abstract(config) = context {
|
||||
#let new_abstract(config) = (
|
||||
context {
|
||||
|
||||
set align(center + horizon)
|
||||
|
||||
|
@ -25,3 +26,4 @@
|
|||
heading("Abstract")
|
||||
config.thesis.abstract
|
||||
}
|
||||
)
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
// Edited: 28.06.2024
|
||||
// License: MIT
|
||||
|
||||
#let show-appendix(config: dictionary) = context {
|
||||
#let show-appendix(config: dictionary) = (
|
||||
context {
|
||||
counter(heading).update(0)
|
||||
|
||||
let title = if text.lang == "en" {
|
||||
|
@ -42,3 +43,4 @@
|
|||
config.thesis.appendices
|
||||
}
|
||||
}
|
||||
)
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
// Edited: 28.06.2024
|
||||
// License: MIT
|
||||
|
||||
#let new_confidentiality_statement_page(config) = context {
|
||||
#let new_confidentiality_statement_page(config) = (
|
||||
context {
|
||||
|
||||
pagebreak(weak: true)
|
||||
|
||||
|
@ -60,3 +61,4 @@
|
|||
align(left, if text.lang == "de" [ Ort, Datum ] else if text.lang == "en" [ Place, Date ] else { panic("no translation for language: ", text.lang) }),
|
||||
align(left, if text.lang == "de" [ Unterschrift ] else if text.lang == "en" [ Signature ] else { panic("no translation for language: ", text.lang) }))
|
||||
}
|
||||
)
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
// Edited: 28.06.2024
|
||||
// License: MIT
|
||||
|
||||
#let new_declaration_of_authorship(config) = context {
|
||||
#let new_declaration_of_authorship(config) = (
|
||||
context {
|
||||
|
||||
pagebreak(weak: true)
|
||||
|
||||
|
@ -62,3 +63,4 @@
|
|||
align(left, if text.lang == "de" [ Ort, Datum ] else if text.lang == "en" [ Place, Date ] else { panic("no translation for language: ", text.lang) }),
|
||||
align(left, if text.lang == "de" [ Unterschrift ] else if text.lang == "en" [ Signature ] else { panic("no translation for language: ", text.lang) }))
|
||||
}
|
||||
)
|
||||
|
|
|
@ -10,7 +10,8 @@
|
|||
// with a specific title and filter by a specifc kind of figure
|
||||
// can optionally insert a pagebreak after the outline
|
||||
// NOTE: will not render in case the listing is empty
|
||||
#let render_filtered_outline(title: str, kind: selector) = context {
|
||||
#let render_filtered_outline(title: str, kind: selector) = (
|
||||
context {
|
||||
|
||||
let elems = query(figure.where(kind: kind), here())
|
||||
let count = elems.len()
|
||||
|
@ -20,11 +21,14 @@
|
|||
pagebreak(weak: true)
|
||||
outline(
|
||||
title: title,
|
||||
target: figure.where(kind: kind))
|
||||
target: figure.where(kind: kind),
|
||||
)
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
#let render_figures_outline() = context {
|
||||
#let render_figures_outline() = (
|
||||
context {
|
||||
let title = if (text.lang == "de") {
|
||||
"Abbildungsverzeichnis"
|
||||
} else if text.lang == "en" {
|
||||
|
@ -33,8 +37,10 @@
|
|||
|
||||
render_filtered_outline(title: title, kind: image)
|
||||
}
|
||||
)
|
||||
|
||||
#let render_table_outline() = context {
|
||||
#let render_table_outline() = (
|
||||
context {
|
||||
let title = if (text.lang == "de") {
|
||||
"Tabellenverzeichnis"
|
||||
} else if text.lang == "en" {
|
||||
|
@ -43,8 +49,10 @@
|
|||
|
||||
render_filtered_outline(title: title, kind: table)
|
||||
}
|
||||
)
|
||||
|
||||
#let render_raw_outline() = context {
|
||||
#let render_raw_outline() = (
|
||||
context {
|
||||
let title = if (text.lang == "de") {
|
||||
"Quelltextverzeichnis"
|
||||
} else if text.lang == "en" {
|
||||
|
@ -53,8 +61,10 @@
|
|||
|
||||
render_filtered_outline(title: title, kind: raw)
|
||||
}
|
||||
)
|
||||
|
||||
#let render_heading_outline() = context {
|
||||
#let render_heading_outline() = (
|
||||
context {
|
||||
let title = if (text.lang == "de") {
|
||||
"Inhaltsverzeichnis"
|
||||
} else if text.lang == "en" {
|
||||
|
@ -65,10 +75,13 @@
|
|||
outline(
|
||||
target: heading.where(supplement: [chapter]),
|
||||
title: title,
|
||||
indent: auto)
|
||||
indent: auto,
|
||||
)
|
||||
}
|
||||
)
|
||||
|
||||
#let render_appendix_outline() = context {
|
||||
#let render_appendix_outline() = (
|
||||
context {
|
||||
let supplement = if text.lang == "en" {
|
||||
[Appendix]
|
||||
} else {
|
||||
|
@ -86,16 +99,16 @@
|
|||
outline(
|
||||
target: heading.where(supplement: supplement),
|
||||
title: title,
|
||||
indent: auto)
|
||||
indent: auto,
|
||||
)
|
||||
}
|
||||
}
|
||||
)
|
||||
|
||||
#let new_outline() = {
|
||||
pagebreak(weak: true)
|
||||
|
||||
show outline.entry.where(
|
||||
level: 1,
|
||||
): it => {
|
||||
show outline.entry.where(level: 1): it => {
|
||||
v(1.5em, weak: true)
|
||||
strong(it)
|
||||
}
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
// Edited: 28.06.2024
|
||||
// License: MIT
|
||||
|
||||
#let new_prerelease_note(config) = context {
|
||||
#let new_prerelease_note(config) = (
|
||||
context {
|
||||
|
||||
pagebreak(weak: true)
|
||||
|
||||
|
@ -54,3 +55,4 @@
|
|||
h(1em)
|
||||
[#author.name, #datetime.today().display()]
|
||||
}
|
||||
)
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
// Edited: 28.06.2024
|
||||
// License: MIT
|
||||
|
||||
#let new_title_page(config) = context [
|
||||
#let new_title_page(config) = (
|
||||
context [
|
||||
|
||||
#let thesis = config.thesis
|
||||
#let author = config.author
|
||||
|
@ -60,24 +61,12 @@
|
|||
column-gutter: 1cm,
|
||||
align: left,
|
||||
stroke: none,
|
||||
|
||||
[*Verfasser:*],
|
||||
author.name,
|
||||
|
||||
[*Bearbeitungszeitraum:*],
|
||||
thesis.timeframe,
|
||||
|
||||
[*Matrikelnummer, Kurs:*],
|
||||
str(author.matriculation-number) + ", " + author.course,
|
||||
|
||||
[*Ausbildungsbetrieb:*],
|
||||
author.company,
|
||||
|
||||
[*Betrieblicher Betreuer:*],
|
||||
author.supervisor,
|
||||
|
||||
[*Abgabedatum:*],
|
||||
thesis.submission-date
|
||||
[*Verfasser:*], author.name,
|
||||
[*Bearbeitungszeitraum:*], thesis.timeframe,
|
||||
[*Matrikelnummer, Kurs:*], str(author.matriculation-number) + ", " + author.course,
|
||||
[*Ausbildungsbetrieb:*], author.company,
|
||||
[*Betrieblicher Betreuer:*], author.supervisor,
|
||||
[*Abgabedatum:*], thesis.submission-date,
|
||||
)
|
||||
] else if text.lang == "en" [
|
||||
#table(
|
||||
|
@ -85,30 +74,19 @@
|
|||
column-gutter: 1cm,
|
||||
align: left,
|
||||
stroke: none,
|
||||
|
||||
[*Author:*],
|
||||
author.name,
|
||||
|
||||
[*Editing period:*],
|
||||
thesis.timeframe,
|
||||
|
||||
[*Matriculation number, course:*],
|
||||
str(author.matriculation-number) + ", " + author.course,
|
||||
|
||||
[*Training company:*],
|
||||
author.company,
|
||||
|
||||
[*Company supervisor:*],
|
||||
author.supervisor,
|
||||
|
||||
[*Submission date:*],
|
||||
thesis.submission-date
|
||||
[*Author:*], author.name,
|
||||
[*Editing period:*], thesis.timeframe,
|
||||
[*Matriculation number, course:*], str(author.matriculation-number) + ", " + author.course,
|
||||
[*Training company:*], author.company,
|
||||
[*Company supervisor:*], author.supervisor,
|
||||
[*Submission date:*], thesis.submission-date,
|
||||
)
|
||||
] else [
|
||||
#context panic("no translation for language: ", text.lang)
|
||||
]
|
||||
|
||||
#align(bottom,
|
||||
#align(
|
||||
bottom,
|
||||
grid(
|
||||
// set width of columns
|
||||
// we need two, so make both half the page width
|
||||
|
@ -121,7 +99,9 @@
|
|||
#context panic("no translation for language: ", text.lang)
|
||||
]
|
||||
),
|
||||
align(right, {line(length: 6cm)})))
|
||||
align(right, {line(length: 6cm)})),
|
||||
)
|
||||
|
||||
#counter(page).update(0)
|
||||
]
|
||||
)
|
||||
|
|
|
@ -20,7 +20,8 @@
|
|||
#rect(
|
||||
radius: 1em,
|
||||
inset: 1em,
|
||||
stroke: watermark-color)[
|
||||
stroke: watermark-color,
|
||||
)[
|
||||
#text(size: 4em, weight: "bold", fill: watermark-pattern, "DRAFT")
|
||||
#linebreak()
|
||||
#text(size: 1.25em, weight: "bold", fill: watermark-color)[
|
||||
|
@ -28,7 +29,8 @@
|
|||
#linebreak()
|
||||
document version.
|
||||
#linebreak()
|
||||
#text(size: 0.75em, "Further usage without the authors consent is not permitted.")]]]}
|
||||
#text(size: 0.75em, "Further usage without the authors consent is not permitted.")]]]
|
||||
}
|
||||
|
||||
#let numberingH(c) = {
|
||||
return numbering(c.numbering, ..counter(heading).at(c.location()))
|
||||
|
@ -59,11 +61,13 @@
|
|||
hyphenate: true,
|
||||
dir: ltr,
|
||||
font: style.text.font,
|
||||
fill: ABB-BLACK)
|
||||
fill: ABB-BLACK,
|
||||
)
|
||||
|
||||
show heading: set text(
|
||||
font: style.heading.font,
|
||||
weight: "semibold")
|
||||
weight: "semibold",
|
||||
)
|
||||
|
||||
set heading(supplement: [chapter])
|
||||
|
||||
|
@ -75,9 +79,15 @@
|
|||
show heading.where(level: 3): it => v(0.5em) + it + v(0.25em)
|
||||
|
||||
// set theme for code blocks
|
||||
set raw(
|
||||
tab-size: style.code.tab-size)
|
||||
show raw.where(block: false): it => box(stroke: 1pt + ABB-GRAY-05, radius: 2pt, inset: (left: 2pt, right: 2pt), outset: (top: 4pt, bottom: 4pt), fill: ABB-GRAY-06, text(font: style.code.font, size: style.code.size, it.text))
|
||||
set raw(tab-size: style.code.tab-size)
|
||||
show raw.where(block: false): it => box(
|
||||
stroke: 1pt + ABB-GRAY-05,
|
||||
radius: 2pt,
|
||||
inset: (left: 2pt, right: 2pt),
|
||||
outset: (top: 4pt, bottom: 4pt),
|
||||
fill: ABB-GRAY-06,
|
||||
text(font: style.code.font, size: style.code.size, it.text),
|
||||
)
|
||||
show figure.where(kind: raw): it => align(left)[
|
||||
#let content = it.body
|
||||
#let lang = if content.has("lang") {
|
||||
|
@ -94,23 +104,29 @@
|
|||
clip: false,
|
||||
{
|
||||
let (columns, align, make_row) = {
|
||||
if style.code.lines {(
|
||||
if style.code.lines {
|
||||
(
|
||||
(auto, 1fr),
|
||||
(right + top, left),
|
||||
e => {
|
||||
let (i, l) = e
|
||||
let n = i + 1
|
||||
let n_str = if (calc.rem(n, 1) == 0) or (true and i == 0) { text(font: style.code.font, size: style.code.size, fill: ABB-BLACK, str(n)) } else { none }
|
||||
(n_str + h(0.5em), raw(block: true, lang: lang, l))
|
||||
})
|
||||
let n_str = if (calc.rem(n, 1) == 0) or (true and i == 0) {
|
||||
text(font: style.code.font, size: style.code.size, fill: ABB-BLACK, str(n))
|
||||
} else {
|
||||
none
|
||||
}
|
||||
else {
|
||||
( ( 1fr, ),
|
||||
(n_str + h(0.5em), raw(block: true, lang: lang, l))
|
||||
},
|
||||
)
|
||||
} else {
|
||||
(
|
||||
(1fr,),
|
||||
(left,),
|
||||
e => {
|
||||
let (i, l) = e
|
||||
raw(block: true, lang: lang, l)
|
||||
}
|
||||
},
|
||||
)
|
||||
}
|
||||
}
|
||||
|
@ -122,15 +138,13 @@
|
|||
inset: 0.25em,
|
||||
align: (col, _) => align.at(col),
|
||||
fill: ABB-GRAY-06,
|
||||
..content
|
||||
.text
|
||||
.split("\n")
|
||||
.enumerate()
|
||||
.map(make_row)
|
||||
.flatten()
|
||||
.map(c => if c.has("text") and c.text == "" { v(1em) } else { c })
|
||||
..content.text.split("\n").enumerate().map(make_row).flatten().map(c => if c.has("text") and c.text == "" {
|
||||
v(1em)
|
||||
} else {
|
||||
c
|
||||
})
|
||||
)
|
||||
}
|
||||
},
|
||||
)
|
||||
#v(-1em)
|
||||
#align(center + top, it.caption)
|
||||
|
@ -167,8 +181,20 @@
|
|||
stroke: (x, y) => (
|
||||
left: none,
|
||||
right: none,
|
||||
top: if y == 0 { 1.5pt } else if y < 2 { 1pt } else { 0.5pt },
|
||||
bottom: if y == 0 { 1pt } else { 1.5pt } ))
|
||||
top: if y == 0 {
|
||||
1.5pt
|
||||
} else if y < 2 {
|
||||
1pt
|
||||
} else {
|
||||
0.5pt
|
||||
},
|
||||
bottom: if y == 0 {
|
||||
1pt
|
||||
} else {
|
||||
1.5pt
|
||||
},
|
||||
),
|
||||
)
|
||||
|
||||
// make table header bold
|
||||
show table.cell.where(y: 0): set text(weight: "bold")
|
||||
|
@ -177,7 +203,8 @@
|
|||
set par(
|
||||
justify: true,
|
||||
first-line-indent: 1em,
|
||||
leading: 1em)
|
||||
leading: 1em,
|
||||
)
|
||||
|
||||
// give links a color
|
||||
show link: set text(fill: style.link.color)
|
||||
|
@ -193,7 +220,8 @@
|
|||
top: style.page.margin.top + style.header.underline-top-padding + style.header.content-padding,
|
||||
bottom: style.page.margin.bottom + style.footer.content-padding,
|
||||
left: style.page.margin.left,
|
||||
right: style.page.margin.right),
|
||||
right: style.page.margin.right,
|
||||
),
|
||||
numbering: (..nums) => {
|
||||
let current-page = here().page()
|
||||
if current-page == 1 {
|
||||
|
@ -237,7 +265,10 @@
|
|||
// right align logo of DHBW
|
||||
align(right, image("res/DHBW.svg", height: style.header.logo-height)))
|
||||
|
||||
} else if query(<end-of-content>).first().location().page() >= current-page and query(<end-of-prelude>).first().location().page() < current-page + 1 {
|
||||
} else if query(<end-of-content>).first().location().page() >= current-page and query(<end-of-prelude>)
|
||||
.first()
|
||||
.location()
|
||||
.page() < current-page + 1 {
|
||||
let heading = currentH()
|
||||
|
||||
heading.at(0)
|
||||
|
@ -250,7 +281,8 @@
|
|||
v(style.header.underline-top-padding - 1em)
|
||||
line(length: 100%)
|
||||
}
|
||||
})
|
||||
},
|
||||
)
|
||||
|
||||
body
|
||||
}
|
||||
|
|
|
@ -8,7 +8,5 @@
|
|||
|
||||
#lorem(50)
|
||||
|
||||
#figure(
|
||||
```
|
||||
```
|
||||
)
|
||||
#figure(```
|
||||
```)
|
||||
|
|
|
@ -15,7 +15,8 @@
|
|||
university: "DHBW Mannheim",
|
||||
company: "ABB AG",
|
||||
supervisor: "Benny Goodman",
|
||||
matriculation-number: 123456789),
|
||||
matriculation-number: 123456789,
|
||||
),
|
||||
thesis: (
|
||||
title: "Unofficial ABB/DHBW Typst template",
|
||||
subtitle: "for reports and thesises",
|
||||
|
@ -28,7 +29,9 @@
|
|||
keywords: ("IT", "other stuff"),
|
||||
bibliography: bibliography("refs.bib"),
|
||||
glossary: yaml("glossary.yml"),
|
||||
appendices: include "appendix.typ")))
|
||||
appendices: include "appendix.typ",
|
||||
),
|
||||
))
|
||||
|
||||
#import "@preview/wrap-it:0.1.0": wrap-content
|
||||
|
||||
|
@ -62,7 +65,8 @@ $
|
|||
|
||||
#wrap-content(
|
||||
figure(image("assets/digitaldog.jpg", width: 200pt), caption: [ Some image caption ]),
|
||||
lorem(200))
|
||||
lorem(200),
|
||||
)
|
||||
|
||||
#figure(
|
||||
table(
|
||||
|
@ -76,8 +80,10 @@ $
|
|||
[2023-03-18], [Yoga], [200],
|
||||
[2023-03-15], [Swimming], [400],
|
||||
[2023-03-17], [Weightlifting], [250],
|
||||
[2023-03-18], [Yoga], [200]),
|
||||
caption: [ Some table ])
|
||||
[2023-03-18], [Yoga], [200],
|
||||
),
|
||||
caption: [ Some table ],
|
||||
)
|
||||
|
||||
#pagebreak()
|
||||
|
||||
|
@ -93,7 +99,9 @@ use std::io::Write;
|
|||
fn main() {
|
||||
println!("Hello, World!!!");
|
||||
}
|
||||
```, caption: [Some code])
|
||||
```,
|
||||
caption: [Some code],
|
||||
)
|
||||
|
||||
#lorem(100)
|
||||
|
||||
|
|
Loading…
Reference in New Issue