Formatting callout without >

According to the callout page, the callouts are formatted as follows:

> [!info]
> Here's a callout block.
> It supports **Markdown**, [[Internal link|Wikilinks]], and [[Embed files|embeds]]!
> ![[Engelbart.jpg]]

with each new line starting with a >

However, I noticed that even if we start new lines without the >, it still displays as the body of the callout e.g.

> [!info]
Here's a callout block.
It supports **Markdown**, [[Internal link|Wikilinks]], and [[Embed files|embeds]]!
![[Engelbart.jpg]]

To break outside of the body, we just need to insert a new line.

Question: is this true? Do I really not need a > on each new line? Why is this behaviour not documented? It is so much more convenient, especially when I’d like to copy/paste some markdown from a callout, because automatic formatting (or more specifically unformatting a callout) is terrible.

In some cases using only > [!info] on one line may work fine. In other cases it won’t and may break things that come later in a note. e.g.

The content is in the callout as expected.

> [!example]
> ```
> code here
> ```

> [!info]
> $$
> \begin{align}
> \bar{x} [+] \bar{y} &= \left(\sqrt[3]{x_{1}^3+y_{1}^3},\dots,\sqrt[3]{x_{n}^3 +y_{n}^3}\right) \\
> &= \left(\sqrt[3]{y_{1}^3+x_{1}^3},\dots,\sqrt[3]{y_{n}^3 +x_{n}^3}\right)&= \bar{y}[+]\bar{x}
> \end{align}
> $$

The content is not in the callout:

> [!example]
```
code here
```

> [!info]
$$
\begin{align}
\bar{x} [+] \bar{y} &= \left(\sqrt[3]{x_{1}^3+y_{1}^3},\dots,\sqrt[3]{x_{n}^3 
+y_{n}^3}\right) \\
&= \left(\sqrt[3]{y_{1}^3+x_{1}^3},\dots,\sqrt[3]{y_{n}^3 +x_{n}^3}\right)&= 
\bar{y}[+]\bar{x}
\end{align}
$$


It’s, of course, up to you how you want to format your notes, but I’d stick to the syntax in the documentation.

The Insert callout command is handy for wrapping selected text in a callout. For removing the >s, in non-nested callouts anyway, the Toggle blockquote command is useful.

For removing the > s, in non-nested callouts anyway, the Toggle blockquote command is useful.

That’s the problem: if you have some additional formatting within the callout (like a table for instance), things become really messy when you try to remove the callout.

Interesting, when I inserted your examples, which on your picture is not in the callout, for me it does in fact appear in the callout.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.