Skip to content

Releases: jreades/qna

Multiple Code Blocks

Choose a tag to compare

@jreades jreades released this 23 Jul 20:41

Fixed an issue where only the first code block was output. Also found and fixed a bug with Blockquotes being written out twice because Para was called before the enclosing Blockquote function. There's probably a way to ask for the parents of a Block-element but f**ked if I can find it in the Lua documentation.

v1.2.0

Choose a tag to compare

@jreades jreades released this 19 Jul 09:03

Immediately found (and have now fixed) an issue with rendering code blocks inside the Q&A panel. Since this wasn't part of the .panel-tabset functionality either I had to do a bit of work to figure it out, but it will now turn the question (or answer) into an interactive code cell in Jupyter.

Q&A Functionality for Quarto (v1.0)

Choose a tag to compare

@jreades jreades released this 17 Jul 11:35

This a fully-functional 1.0 release of a Q&A extension for Quarto. As it stands, three Quarto output types are hard-mapped on to three Q&A outputs:

  • HTML output produces the standard panel output containing both question and answer
  • IPYNB output produces only the question
  • PDF output produces only the answer

Future versions might want to default to this arrangement but allow the user to override without modifying qna.lua.