Skip to content

Commit a098a0c

Browse files
committed
update readme with usage instruction
1 parent 35bdc39 commit a098a0c

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,17 @@ quarto add emilhvitfeldt/quarto-revealjs-codewindow
1313
This will install the extension under the `_extensions` subdirectory.
1414
If you're using version control, you will want to check in this directory.
1515

16+
Once an extension has been added, you can use the Reveal plugin by adding it to the 1reveal-plugins` key. For example:
17+
18+
````` markdown
19+
---
20+
title: "My Presentation"
21+
format: revealjs
22+
revealjs-plugins:
23+
- codewindow
24+
---
25+
`````
26+
1627
## Using
1728

1829
Adding a `::: {.codewindow}` fenced div around any code chunk will turn the output into a `codewindow`. The file tab is enabled by adding plain text before the code chunk.

0 commit comments

Comments
 (0)