Skip to content

spaces added to popup message breaks markdown formatting #2

Description

@dlyongemallo

In particular, this line adds a space before and after each line of the popup message.

The result is this (note that EOL whitespace is highlighted):
Screenshot from 2024-06-14 09-31-37

These added spaces break markdown syntax detection. Removing the above line results in:
Screenshot from 2024-06-14 09-32-14

This is slightly better as at least the markdown syntax highlighting is being applied. This could be improved further by annotating the code blocks as Rust:

Screenshot from 2024-06-14 09-32-47

Finally, making the title into a markdown heading and setting the conceallevel to 2, we get this much nicer output:

Screenshot from 2024-06-14 09-33-20

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions