The Obsidian QB Reader plugin streamlines the process of converting quiz bowl tossups into flashcards ready for Anki using the Obsidian_to_Anki plugin. It provides a convenient interface to query the QB Reader API and automatically parses sentence-level highlights into a format suitable for cloze deletions. By integrating closely with the Cloze Paragraph Styles of Obsidian_to_Anki, it ensures clean conversion of highlighted content into spaced repetition cards. Users can set default quiz categories for filtering, and parsed sentences can be clicked to format them instantly.
Use "Sanitized answer" instead of raw answer
Full Changelog: https://github.com/J-Barta/qb-reader-parser/compare/1.9.4…1.9.5
Obsidian QB Reader Plugin
Automatically parse tossups from QB Reader into a format readable by the Obsidian_to_Anki plugin.
Installation
- Download and install Obsidian
- Download the AnkiConnect Add-on in Anki (id
2055492159
) - Enable Community Plugins in Obsidian and install the Obsidian_to_Anki plugin
- Enable the plugin and go to its settings
- Set the deck for your obsidian cards to go to
- Located under the "Defaults" section in options for the plugin
- Copy the deck name and path (click the settings icon next to your deck --> rename, copy your)
- Enable Cloze Paragraph styling - See To Use section
obsidian-qb-reader.zip
from the latest Release.- Extract the folder and locate its inner folder (also called
obsidian-qb-reader.zip
) - Move this folder into
{Your Obsidian Vault}/.obsidian/plugins/
- Restart Obsidian (probably).
- Go to your community plugins tab and enable Obsidian QB Reader
- Set your categories in the settings menu for the plugin. These are the categories that will be selected by default when you open the Obsidian QB Reader Window
- Extract the folder and locate its inner folder (also called
To Use
Run the "QB Reader" command (Ctrl + P) to open a dialog that will allow you to query the QB Reader API. Sentences will automatically be separated by highlights. Clicking on sentences will automatically parse them into a format ready for Anki-ification!
The default parsing method for converting clues to cards is using highlighting, because it is easiest to read in Obsidian. This necessitates that you use the Cloze Paragraph Styles feature of the Obsidian_to_Anki plugin with this regex:
((?:\n)*(?:.*(?:{|={2}).*)(?:(\^.{1,3}$|^.{4}(?<!<!--).*))*)
Caveats
- QB Reader's subcategory behavior is strange when retrieving tossups. I'm not entirely sure why it is the way it is, but having any major category (Lit, Hist, Sci, FA) enabled will currently stop all minor categories from returning tossups. Only select minor categories to get minor category results.
- At this time, the plugin does not support bonuses. This may be added in the future.
Manually installing the plugin
- Copy over
main.js
,styles.css
,manifest.json
to your vaultVaultFolder/.obsidian/plugins/your-plugin-id/
.