Remove "Title" & "Contents" placeholders from the "Insert callout" command

Use case or problem

Currently, the Insert callout command inserts the following text:

> [!NOTE] Title
> Contents

It contains the placeholders “Title” and “Contents”.
A user has to manually delete these before typing the actual title (if any) and contents, which slows down the workflow and, I believe, is unreasonable.

In almost all practical situations, users will not want to leave these placeholders as they are.

Proposed solution

Therefore, I suggest updating the command so that it inserts only:

> [!NOTE]
>

This change will reduce the number of keystrokes required to accomplish the same task in any situation.

Current workaround (optional)

Set up custom snippets with, for example, the Latex Suite plugin.

Related feature requests (optional)

None.

2 Likes

I use this Templater template for a few often-used custom callouts (a few other options in that topic as well):

but when I use the default Insert callout command, I manually remove Title and Contents almost every time. I can get behind this FR. :purple_heart:

1 Like

Note
you don’t get any placeholders if you insert a callout on pre-selected text

I agree, the “Content” placeholder is useless.

But the “Title” placeholder is useful, I always change my callout title and almost never use the default callout title, like in this case “NOTE”.

If you don’t need the “Title” placeholder, good, just double click that placeholder and enter your custom title: it’s really that easy!

BTW, try to pre-select text and then, insert a callout. This, to remove all placeholders.

I always have to type space before I can type my custom title on pre-selected text. This really bothers me, I wished there would be a placeholder “Title” to double click on pre-selected text!

My idea is that, since you enter your custom title anyways, isn’t it better if the “Title” placeholder were not included in the first place? (in which case you could save your typing or the time to move the mouse)

Thanks, this is actually very useful! However, it also adds a little bit of complexity because I have to first type the contents in the second line of the callout and then go back to the first line. It would help my small brain if it were simpler…

Hi @ush
I prefer to double click a placeholder than to insert a space and then, type my title. This is how I deal with templates and placeholders in general.

I guess we both use callouts very differently.
Usually I study text in a second go, then I add bold, italic, callouts and other styling elements to memorize better the content of my notes.

Interesting. This conversation reminds me of how my way to see things is not the only way. And the way you use callouts seems very useful, I will try. Thanks for the insights, I think I learned something.

I personally like the current implementation because it makes callouts more user friendly to new users.

Related feature requests:

  • tab already has a defined function but maybe offer alternative function for tabs in callouts