Editor/Live Preview: Support quotes/quotation in list items

Are >quotes supposed to work in Lists in LP? In Reader mode they render in the quote styling but in LP they just stay showing the “>” in front of the quoted text.

Here is what I mean. LP vs Reader view. The list item doesn’t render the quote in LP (first screenshot). The styling / margin is a bit off in Reader mode (second screenshot) but at least it renders (and can be fixed with some css)

image

image

Posted on Discord and Licat acknowledged: Discord

45 Likes

The link to the Discord post fails. Is this still getting attention?

2 Likes

Please see also Editing View: Broken indentation around quote block, which illustrates a different way that bullet points break around quotes, albeit one which is independent of Live Preview. (That post was closed and redirected to this thread despite discussing different issues, so I’m reproducing here.)

Expected result

The “live preview” editing view should match the indentation and quote blocks as shown in reading view:

Actual result

In editing view, the indentation on the quote block gets squished, and a bullet point outside the quote block is incorrectly shown as part of the quote block.

3 Likes

Steps to reproduce

  1. Create a list (ordered or unordered) with 4 elements, 1 parent and 4 children

  2. Add a soft line break (Shift+Enter) on the 2nd child so that there are at least 3 lines

  3. Add some placeholder text to make visualizing things more obvious

  4. Add a quote (>) to the first line of the 2nd child. Notice that the live preview does not show any quote formatting.

  5. Add a quote (>) to the second line of the 2nd child. Notice that the live preview now shows quote formatting for all remaining lines within the 2nd child.

    • Also notice that the following item (child 3) is now indented to the same level as the quoted block. This seems to just be a visual error, but it is still likely unintended behavior.

Expected result

All lines within a list element should show as quoted when the first line is.

Actual result

No lines show as quoted if the first line is quoted. All subsequent lines show as quoted if any line beyond the first is quoted.

Environment

  • Operating system: Windows 10
  • Debug info:
SYSTEM INFO:
	Obsidian version: v0.13.33
	Installer version: v0.13.30
	Operating system: Windows 10 Home 10.0.19043
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 2
	Safe mode: off
	Plugins installed: 2
	Plugins enabled: 0

RECOMMENDATIONS:
	Custom theme: for cosmetic issues, please first try updating your theme to latest. If still not fixed, please try to make the issue happen in the help vault or disable community theme and snippets.


Additional information

First line only quoted


Second line also quoted

1 Like

I run into this issue pretty much every single day. Would love to see it fixed! <3

5 Likes

I would greatly appreciate it if this issue could be fixed :pray: