Skip to content

Commit ed9e3e8

Browse files
committed
De-pythonify citations
1 parent 3163ab4 commit ed9e3e8

File tree

2 files changed

+19
-5
lines changed

2 files changed

+19
-5
lines changed

docs/get-started/authoring/_text-editor.md

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -200,25 +200,39 @@ To cite other works within a Quarto document. First create a bibliography file i
200200

201201
Here's a document that includes a bibliography and single citation.
202202

203+
203204
```` markdown
204205
---
205206
title: Quarto Basics
206207
format: html
207208
bibliography: references.bib
208-
jupyter: python3
209209
---
210210

211211
## Overview
212212

213213
Knuth says always be literate [@knuth1984].
214214

215-
```{{python}}
216-
1 + 1
217-
```
218-
219215
## References
220216
````
221217

218+
::: {.callout-tip collapse="true"}
219+
220+
## Contents of `references.bib`
221+
222+
```{bibtex filename="references.bib"}
223+
@article{knuth1984,
224+
title={Literate programming},
225+
author={Knuth, Donald E.},
226+
journal={The Computer Journal},
227+
volume={27},
228+
number={2},
229+
pages={97--111},
230+
year={1984},
231+
publisher={British Computer Society}
232+
}
233+
```
234+
:::
235+
222236
Note that items within the bibliography are cited using the `@citeid` syntax.
223237

224238
``` markdown
-33.1 KB
Loading

0 commit comments

Comments
 (0)