aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2025-02-17 19:58:00 +0100
committerJonas Smedegaard <dr@jones.dk>2025-02-17 19:58:00 +0100
commit0f2427bde114ce2f8f3d39017705015fe69b3bfc (patch)
tree3cd696ba73d198b54c29147b3730a5481443fd7f
parente181acb63c42a51b92ec3f0189d1b06c93207361 (diff)
use citation
-rw-r--r--_markdown.qmd3
-rw-r--r--_quarto.yml6
-rw-r--r--ref.bib15
3 files changed, 23 insertions, 1 deletions
diff --git a/_markdown.qmd b/_markdown.qmd
index ac9da22..0cb03ef 100644
--- a/_markdown.qmd
+++ b/_markdown.qmd
@@ -10,7 +10,8 @@ in a human-readable tekst file.
HTML is itself a plaintext format,
but is less human-readable.
Similarly the format LaTeX is also plaintext,
-but its markdown arguably distracts the reading process.
+but its markdown arguably distracts the reading process
+[@Mailund2019, p. 9].
Other human-readable document source formats exists.
FIXME Org-mode.
diff --git a/_quarto.yml b/_quarto.yml
index 055b313..cc0e9ca 100644
--- a/_quarto.yml
+++ b/_quarto.yml
@@ -21,6 +21,12 @@ monofont: SourceCodeVF
monofontoptions:
- OpticalSize=11
+link-citations: true
+bibliography: ref.bib
+csl: apa
+resource-path:
+- /usr/share/citation-style-language/styles
+
filters:
- abstract-section
- stylish-roles
diff --git a/ref.bib b/ref.bib
new file mode 100644
index 0000000..643a355
--- /dev/null
+++ b/ref.bib
@@ -0,0 +1,15 @@
+@InBook{Mailund2019,
+ author = {Mailund, Thomas},
+ booktitle = {Introducing Markdown and Pandoc},
+ date = {2019},
+ title = {Writing Markdown},
+ doi = {10.1007/978-1-4842-5149-2_3},
+ isbn = {9781484251492},
+ pages = {13--22},
+ publisher = {Apress},
+ file = {:Mailund2019 - Writing Markdown.pdf:PDF},
+}
+
+@Comment{jabref-meta: databaseType:biblatex;}
+
+@Comment{jabref-meta: fileDirectory-jonas-bastian:/home/jonas/Projects/RUC/LIB/md;}