Giter Club home page Giter Club logo

qquestion's Introduction

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, and marked by a ๐Ÿค” emoji. The extension is meant for html and pdf output.

Installing

quarto add ute/qquestion

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

In the yaml, add

filters: 
    - qquestion

To insert a question in the text enclose text in {{? and ?}}. To add an answer or hint to the question, separate the answer text from question by :|:, within the same pair of brackets.

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.

qquestion's People

Contributors

ute avatar

Stargazers

 avatar

Watchers

 avatar

qquestion's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.