Live Preview: Support callouts in list items

Steps to reproduce

Indent a callout block in a bulleted list, e.g.

  • Item 1
    • subitem 1

    [!info] my callout
    content inside callout

    • subitem 2
    • subitem 3

Expected result

‘subitem2’ should be an additional bullet point aligned to ‘subitem1’, but instead it is swallowed by the callout. The list only resumes at ‘subitem3’.
Further, the callout should render as a colored window. But it does not, it renders as a code block. It only renders as a colored window in reading mode.

Actual result

“subitem2” should be an additional bullet point aligned to ‘subitem1’, but instead it is swallowed by the callout.

The callout block renders as a code block in edit mode. It only renders as a colored window in reading mode.

Here it is in edit mode:
Screenshot from 2023-03-27 14-11-49

And here in reading mode:
Screenshot from 2023-03-27 14-11-56

Environment

  • Operating system:

Ubuntu 20.04.4 LTS

  • Debug info:

SYSTEM INFO:
Obsidian version: v1.1.16
Installer version: v0.15.9
Operating system: #63~20.04.1-Ubuntu SMP Wed Nov 30 13:40:16 UTC 2022 5.15.0-57-generic
Login status: logged in
Catalyst license: none
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 1
Restricted mode: off
Plugins installed: 14
Plugins enabled: 14
1: Style Settings v1.0.2
2: Icon Folder v1.6.0
3: Excalidraw v1.8.12
4: Dataview v0.5.55
5: Advanced Slides v1.19.0
6: Copy Image and URL context menu v1.4.0
7: Projects v1.11.5
8: MetaEdit v1.7.2
9: DB Folder v3.3.0
10: Buttons v0.4.19
11: Templater v1.16.0
12: Emoji Toolbar v0.4.0
13: LanguageTool Integration v0.3.3
14: GPT-3 Notes v0.2.6

RECOMMENDATIONS:
Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets.
Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.


Additional information

13 Likes

we don’t support callouts in lists items currently (along with many other things).

1 Like

This is exactly what I’m looking for. Hopefully it can be supported one day!

3 Likes

I have the same issue, running on macOS if it helps. I see that it is “not supported” above, but that really doesn’t make sense, as callouts are clearly at least partially supported. They work in almost every place, but have weird live-preview mode quirks. If nothing else, hopefully this comment bumps the issue, as I know myself and many others would love this :slight_smile:

3 Likes

Use case or problem

Currently the live preview mode does not render the inline callouts as per these posts in the forum:

In short:

[!quote]
Normal callout

  • [!quote] Indented Callout

is rendered as such in the live preview:

But is rendered correctly in the reading mode:

Proposed solution

Render indented callout in live preview mode

Current workaround (optional)

Switch from live to reading mode

4 Likes

+1, would really like to be able to freely use callouts in lists and not have them rendered as code.

3 Likes

Yep that’s the crux of the feature request.

2 Likes

It is needed to start supporting, this is a critical need

3 Likes

+1 For supporting this feature.

Like many users, I use obsidian 99.9% of the time in live preview mode only, so this would be really useful for organizing callouts that are separated by text, but still hierarchically related.

Supporting this feature. The reason is to diversify the visual content that we can write in our notes, so we can identify, recognise them, differentiate them from other text we wrote quickly.

On other note-taking app this is a basic feature.

You might want to check List Callouts plugin.