Skip to content

Highlighting of indented math and concealing ends, but keeping character count. #318

Open
@mumblingdrunkard

Description

@mumblingdrunkard

I can not for the life of me figure out why the plugin stops highlighting the math blocks after it is indented more than 3 spaces. It makes it really annoying to use when doing lists and I want a formula within that list. Inline highlighting still works unless the opening of the math is at the beginning of a new line.

Example

The math block on line 29 is not being highlighted and neither is the inline math in the table.
On the same note, maybe not conceal latex inside tables as it ruins the alignment or maybe add some spacing after to compensate. This would have to be rather clever though.

I'd also like to be able to set if the characters around bold text ** and __ should be hidden with one or two spaces as it makes it easy for neatly aligning tables with bold text. Right now I have just disabled the conceal of __ and use that to get bold text in tables.

Example of conceal changing the alignment of tables

I've looked around forever, but can't seem to find anything on this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions