Skip to content

Rendering blocks get 'broken' by links, multiline and inconsistent color #549

Description

@DaveDavenport

Version: v2.20.2

The following text:

> [!warning] This is warning [with](link) that is not multiline

gets rendered as:

Image in the edit view.

IMHO this is the right way to render the above code.

However in preview:

Image

I don't think we should get the multi-line with extra vertical spacing on a link in the block.
(same for note, error)

This also renders as multiline and wrong color in PDF.

It can be reproduced with inline formula too:

> [!note] This can also be reproduced with a $3+1=4$ formula inline.

Or in general when trying to add a multi line node:

> [!note] line 1
> line 2
Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions