Releases: jmshea/jupytercards
3.0.0 Many updates, MathJax math fix
The fix for MathJax is a hack and may eventually cause problems with someone's Jupyter Lab because it overwrites the Jupyter Lab version of MathJax. However, this is the best I can do, and I have tried to work with the Jupyter community to get a better fix. Let me know if you encounter any problems.
Bug fix for local card loading
Fixes a bug created by the last release that blocked loading cards via string or file. Should be fixed now.
Bug fix release
Fix some bugs in Javascript and issues in Python that may cause problems on some non-Jupyter platforms
Replace MathJax arrow with SVG
The Reload arrow is now drawn as a SVG, so page does not have to have MathJax already loaded.
Support for converting flashcards from Markdown
Now you can easily create flashcards in Markdown and use the md2json() conversion function to convert to the required JSON format.
Future versions of display_flashcards() may consume be able to directly take Markdown as an input, but I'll leave that for another day ;-)
Update CSS styles to avoid conflict with Jupyter Book/sphinx
Change CSS style names:
card -> flashcard
cardtext -> flashcardtext
to avoid conflict (now and potential) with Jupyter Book/sphinx.
Improved MathJax 3.x support
Updated to allow math on front of cards.
MathJax 3.x compatibility
JupyterBook/sphinx has moved to MathJax 3.x, and the current version of JupyterBook has issues if you specify a MathJax path.
This version will work with the latest JupyterBook by calling MathJax.typeset() on the particular elements with math content.
(NOTE: math content on front of card was not tested yet -- may need a point update to handle that).
HTML content and reload button at end
This is the first official release for JupyterCards on GitHub. New since the first 1.0 commit are:
- Card content can include LaTeX math between $$ or $$ $$
- Card content can now include HTML
- At end of deck, the Next icon will become a Reload icon to indicate to the user that they are restarting the deck
The basic functionality is now complete for my purposes, but I will continue to refine and extend it as time goes on. Let me know if there is anything in particular you want to see!
Issues/Pull requests on GitHub
jshea@ece.ufl.edu
@jmshea on Twitter