Anki add-on: Mini Format Pack

This is a quick stripped-down version of Stefan van den Akker's Power Format Pack add-on . It is designed to work with Anki 2.1, but it is only meant as a holdover until someone finds the time to port PFP in its entirety (or until similar features arrive in Anki itself). Please don't expect any further major additions like markdown support, etc. Features Highlight text Insert code block Insert horizontal line Toggle unordered list Toggle ordered list Indent selection Outdent selection Alignment buttons Changelog Version 1.0.0 – 2023-11-02 Added Added support for Anki 23.10+ Added button for inline code formatting (thanks to Rai and lukkea for their contributions and to Juddd for the feature request!) Changes Rewrote large parts of the codebase for better compatibility with future Anki releases Removed support for changing text background color. This has been built into Anki for a while now and nowadays works better than the add-on variant of the feature. You can view all past releases here . Configuration The add-on offers some limited configuration capabilities, but they are not as fleshed out nor as user-friendly as PFP. You will have to use Anki 2.1's built-in config manager to update the config dictionary (Tools → Add-ons → Select Mini Format Pack → Click configure). The properties you can modify include: hotkey and tooltip of each action order of actions (by shifting the {} -enclosed button definitions around) available actions (by deleting any of the {} -enclosed button definitions) Your changes will be applied once you restart your editor window (if running). Please do not change the ' name ' property, as this is used to assign the corresponding button to the function it calls. Related Add-ons If you're looking for even more powerful formatting features in Anki 2.1, make sure to also check out some of the following add-ons: Add Table for table support. Also check out this guide for more complex table layouts. Add Hyperlink for hyperlink support Syntax Highlighting for pretty-formatted code snippets Help and Support Please do not use reviews for bug reports or support requests . I don't get notified of your reviews, and properly troubleshooting an issue through them is nearly impossible. Instead, please either use the issue tracker (preferred), add-on support forums , or just message me at ankiglutanimate@gmail.com . Constructive feedback and suggestions are always welcome! Credits and License Copyright(c) 2014-2018 Stefan van den Akker Copyright(c) 2017-2018 Damien Elmes Copyright © 2018-2023 Aristotelis P. (Glutanimate) Mini Format pack is based on Power Format Pack by Stefan van den Akker . All credit for the original idea and implementation goes to him. I would like to express my heartfelt gratitude for all of what he has done for the Anki community over the years. PFP was one of the projects that originally inspired me to go into add-on development. Thank you for that, Stefan! Licensed under the GNU AGPLv3 , extended by a number of additional terms. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY. For more information on the license please see the LICENSE file accompanying this add-on. The source code is available on GitHub . Pull requests and other contributions are welcome! More Resources Make sure to check out my socials for the latest add-on updates and news: @Glutanimate | / Glutanimate Want to hire me to work on add-on for you? Get in touch at ankiglutanimate@gmail.com Support My Work If you like Mini Format Pack, please give it a thumbs up and share it with your friends, so that more people can enjoy it! A kind request : Writing, supporting, and maintaining Anki add-ons like these takes a lot of time and effort. If Mini Format Pack has been a valuable asset in your studies, please consider using one of the buttons below to support my efforts by pledging your support on Patreon . Each and every contribution is greatly appreciated and will help me maintain and improve Mini Format Pack as time goes by! Pro-tip: Lots of exclusive add-ons and other goodies await on my Patreon page. Make sure to check them out!

GitHub repository: glutanimate/mini-format-pack
Repository description: Extends Anki 2.1 with a number of additional text formatting buttons
Languages: Python
Topics: anki-addon, anki-flashcards, anki21