Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/ute/qquestion
Browse files Browse the repository at this point in the history
  • Loading branch information
ute committed Feb 17, 2024
2 parents f5841ca + 9ee292e commit 0202fbd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Qquestion Extension For Quarto

Intersperse text with short questions to the reader. They can include invisible answers or hints that are collected and can be output when format = pdf. Questions are numbered for reference
Intersperse text with short questions to the reader. They can include invisible answers or hints that are collected and can be output when format = pdf. Questions are numbered for reference, and marked by a 🤔 emoji. The extension is meant for html and pdf output.

## Installing

Expand All @@ -13,6 +13,7 @@ This will install the extension under the `_extensions` subdirectory.
If you're using version control, you will want to check in this directory.

## Using
![image](https://github.com/ute/qquestion/assets/5145859/1df83a91-6971-488f-b4ef-874787dd90e9)

In the yaml, add
```
Expand All @@ -24,6 +25,8 @@ To insert a question in the text enclose text in `{??` and `??}`. To add an answ

To collect answers for use in pdf, add the LaTeX command `\collectanswers` before any question with answers. Retrieve answers including a reference number by adding the LaTeX command `\qsolutions` in your text.

Change appearance of questions and answers by hacking the files `qquestions.css` and `qquestions.tex`.

## Example

Here is the source code for a minimal example: [example.qmd](example.qmd).
Expand Down

0 comments on commit 0202fbd

Please sign in to comment.