From ed7472b5a774da3778ae34f75afe49953040bc01 Mon Sep 17 00:00:00 2001 From: Ute Hahn Date: Sat, 17 Feb 2024 20:36:57 +0100 Subject: [PATCH 1/2] Update README.md Added picture --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c66b0a2..15121a8 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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/6e667fa4-6a49-4ade-8499-11073f8399ce) In the yaml, add ``` @@ -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). From 9ee292edd900ef7bb1db0a5a336a476414fe9fb0 Mon Sep 17 00:00:00 2001 From: Ute Hahn Date: Sat, 17 Feb 2024 20:40:15 +0100 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 15121a8..36a4170 100644 --- a/README.md +++ b/README.md @@ -13,7 +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/6e667fa4-6a49-4ade-8499-11073f8399ce) +![image](https://github.com/ute/qquestion/assets/5145859/1df83a91-6971-488f-b4ef-874787dd90e9) In the yaml, add ```