Mini Format Pack

AnkiWeb addon 295889520

Adds editor buttons for highlighting, code blocks, horizontal lines, lists, indentation, and alignment, with configurable hotkeys, tooltips, and button order.
AI-generated summary; may contain mistakes.

formattingshortcutsfork-or-reupload

Open on AnkiWeb GitHub Forum topic Find alternatives

AnkiWeb

Votes
224 (πŸ‘ 216 Β· πŸ‘Ž 8)
Updated
2023-11-02
Anki versions
23.10~
License
AGPL-3.0 (from the license file in the package)
Virus scan
No ClamAV match A match does not prove malware. No match does not prove that the code is safe.
Languages
Python, JSON
Description language
en

Maintenance

abandoned

  • Last update or commit: 2023-11-04 (1093 days before the snapshot).
  • Commits in the last year: 0.
  • Issues: 16 open, 11 closed.
  • Pull requests: 2 open, 2 merged.
  • Median first response: 1824 hours (19 answered issues and pull requests).
  • Outside pull requests: 25% of 8 merged.

Will it work on my Anki?

Version branches
Min AnkiMax AnkiUpdated
2.1.02.1.662018-07-24
23.10+2023-11-02
History across monthly snapshots

Loading…

Similar addons

Shuffled List

Creates unordered lists whose items display in random order on each front-side review, using a toolbar button or Ctrl+Shift+U on highlighted text.

formattingshortcutsquiz

4 votes 30% approval πŸ‘ 3 Β· πŸ‘Ž 1 ⭐ 0 Anki 2.1.54~ Updated 2022-09-26
Highlight Color Shortcut

Highlights selected text in eight configurable colors via Ctrl+Alt plus the color's first letter, with an optional bold setting and support for standard or hex color codes.

formattingshortcuts

21 votes 65% approval πŸ‘ 18 Β· πŸ‘Ž 3 ⭐ 0 Anki 2.1.16~ Updated 2021-04-01
New Format Pack

Adds editor buttons for strike-through text, horizontal rules, code blocks, and paragraphs, restoring functionality omitted from a recent Anki update.

formatting

13 votes 58% approval πŸ‘ 11 Β· πŸ‘Ž 2 ⭐ 6 Anki 2.1.46~ Updated 2021-08-10
Bullet-Converter

Converts selected hyphen-bulleted or numbered text in the Anki editor into properly formatted HTML unordered or ordered lists, via a toolbar button or Ctrl+Shift+B shortcut.

formattingshortcuts

3 votes 6% approval πŸ‘ 1 Β· πŸ‘Ž 2 Anki 25.02.1~ Updated 2026-02-23
Mini Format Pack Supplementary

Adds inline code and kbd tags, removes pre/code tags, wraps selected text in pre, and inserts pinyin for single Chinese characters.

formatting

13 votes 50% approval πŸ‘ 10 Β· πŸ‘Ž 3 Updated 2020-01-03

Description

    

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:

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 icon 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: Twitter bird@Glutanimate | YouTube playbutton / Glutanimate Want to hire me to work on add-on for you? Get in touch at Email icon 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!

README

Mini Format Pack for Anki


Fancy flashcards!

Extends the spaced-repetition flashcard app Anki with a number of additional text formatting options.

Table of Contents

Installation

AnkiWeb

The easiest way to install Mini Format Pack is through AnkiWeb.

Manual installation

  1. Make sure you have the latest version of Anki installed.
  2. Download the latest .ankiaddon package from the releases tab (you might need to click on Assets below the description to reveal the download links)
  3. From Anki's main window, head to Tools β†’ Add-ons
  4. Drag-and-drop the .ankiaddon package onto the add-ons list
  5. Restart Anki

Documentation

For further information on the use of this add-on please check out the original add-on description.

Building

With Anki add-on builder installed:

git clone https://github.com/glutanimate/mini-format-pack.git
cd mini-format-pack
aab build

For more information on the build process please refer to aab's documentation.

Contributing

Contributions are welcome! Please review the contribution guidelines on how to:

  • Report issues
  • File pull requests
  • Support the project as a non-developer

License and Credits

Mini Format Pack is

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!

Mini Format Pack is free and open-source software. The add-on code that runs within Anki is released under the GNU AGPLv3 license, extended by a number of additional terms. For more information please see the LICENSE file that accompanied this program.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY.


The continued development of this add-on is made possible
thanks to my Patreon and Ko-Fi supporters.
You guys rock ❀️ !