Convert Markdown formatted documents to anki decks
MIT License
Bot releases are hidden (Show)
Published by AnonymerNiklasistanonym almost 3 years ago
Originally it was specified that if no Markdown output argument is found the input file will be simply updated which is being restored in this release.
If multiple input files are found their directory will be set as Markdown output argument and only if they are not in the same directory an error will be thrown.
Also the --help
output is now correct if md2anki
is installed as a package.
Full Changelog: https://github.com/AnonymerNiklasistanonym/Md2Anki/compare/v2.6.2...v2.6.3
The files were created by GitHub Actions and the checksums can be checked via the command sha256sum -c checksums_sha256.txt
:
19ca2b715c1cc44436141179618683dd1e20e09aae816077b8107e45015735bd md2anki-2.6.3.tar.gz
1b9f54a55e0460c6260af19e15f116f6672191e371ccc0f63857051b0776beed md2anki-2.6.3-py3-none-any.whl
Published by AnonymerNiklasistanonym almost 3 years ago
With the latest changes md2anki
can now be easily installed and uninstalled via pip
.
This means after the installation it can be called via md2anki
in the command line and can also be imported with all classes and non internal methods (which are subject to change in the future and are thus excluded for a better version compatibility).
The files were created by GitHub Actions and the checksums can be checked via the command sha256sum -c checksums_sha256.txt
:
0756334701b3b46616541c0b0b8fc9414fa0ae03cb037deb025e7adb91155c2b md2anki-2.6.1.tar.gz
399ebe48072558ac5b706f51f04a5299c2a3c05f92d318a45bd4594962010aba md2anki-2.6.1-py3-none-any.whl
Published by AnonymerNiklasistanonym almost 3 years ago
It is now possible to insert tags for all cards of a document (in the new description text before the first card/section begins) or only for single cards with the format:
`{=:tag:=}`
Also documents can now be merged together into a single anki deck which can be great for organization and that not a single 4K line document is created that is probably also heavier to parse with graphical Markdown editors. It is also possible to merge the markdown document into a single markdown document although then the global tags are being merged too!
The backup directories now include a cross platform powershell build script for the anki deck and a bash build script.
Also the KaTeX and HighlightJS versions were updated.
Problems:
Published by AnonymerNiklasistanonym almost 4 years ago
Before the parser skipped multiple horizontal rules (---
) and only used the last one to be found as question body answer separator.
Now the parser is updated to use the first one as question body answer separator and if another horizontal rule (---
) is found it just appends it to the answer.
Currently this emits a warning as it was probably unintentional added from a user but will run without a problem.
Published by AnonymerNiklasistanonym almost 4 years ago
Published by AnonymerNiklasistanonym almost 4 years ago
This is achieved by replacing the math parts before doing the fancy rendering and thus characters like "|" are properly escaped and the contents in the math sections do not influence the rendering at all like you would expect it to work.
Also the program has one less dependency because the markdown math parser did not work and was thus removed.
Published by AnonymerNiklasistanonym almost 4 years ago
LaTeX math blocks and inline parts should now not be update any more and will have the same content in the final card as they have in the input (besides the escaped XML tag characters).
Published by AnonymerNiklasistanonym about 4 years ago
After all basic requirements are more or less working the program can be used in production.