Markpad icon indicating copy to clipboard operation
Markpad copied to clipboard

Toolbar shortcut to add callouts easily.

Open Fallgrim opened this issue 3 weeks ago • 2 comments

What problem would this solve?

  • A new button to add callouts easily.
  • I've figured out that Markpad renders callouts perfectly. The app collapses/expands them very smoothly, I really like it; but adding them manually is really frustrating, so a toolbar shortcut would solve this problem.

What would you like?

  • Just a new button in the toolbar that adds a callout.
    • Also, a new keyboard shortcut for that as well.

  • These foldable callouts will also bring another feature request as in the #973
    • So, an option to collapse/expand all callouts would be needed in the future as well.

Which platform is this for?

All platforms

Your Markpad version and how you installed it

2.9.2


Sincerely,

A Markpad lover. ❤

Fallgrim avatar Nov 08 '26 20:11 Fallgrim

Some context before picking a design. The renderer already supports three fold forms:

> [!note]    not foldable
> [!note]+   foldable, open by default
> [!note]-   foldable, collapsed by default

Types are uneven today. note, tip, important, warning and caution get both an icon and a color (the GitHub set). info, todo, faq, question and example get an icon but no color of their own. Any other name renders with neither.

For the toolbar button, which would you prefer?

  1. One button that inserts > [!note] (wrapping the selection if there is one), and you change the type or add +/- by hand.
  2. A button with a small menu to pick the type and whether it starts collapsed.

And on types: should the menu (if any) offer only the five colored GitHub types, or should the other five also get colors so they are worth picking? Which type and fold state do you use most?

PathGao avatar Nov 19 '26 07:11 PathGao

  • Design: I think it should be inserted as default (not foldable) because in case we want it foldable, we can change it easily.
  • Types: If we want a smooth rendering process for the notes that are written in Obsidian, it should support the Obsidian Standard Callouts types.
    • image
  • Toolbar button: First option would be neat. Sharp and short options keep this app more lightweight, I believe; and that is what makes this app appealing for me.

  • Again, for types: As I commented above, supporting default Obsidian callouts would be nice, but if it makes the app bloated (I don't know these technical background issues), I don't want that option, so GitHub set would be okay as well.

Fallgrim avatar Nov 19 '26 08:11 Fallgrim