Skip to content

Enhance Code Block Display with Language Badges, Indentation Guides, and Borders #753

@tuf612

Description

@tuf612

Could we add support for displaying the programming language in the upper-right corner of code blocks? For example, if a code block contains C code, a capital letter "C" could be shown in that corner.

Additionally, would it be possible to improve the indentation display—similar to VS Code—by using vertical bars ("|") to indicate indentation levels? Support for code folding and expanding would also be a great enhancement.

Finally, could we add borders to code blocks? Options could include both sharp rectangular borders and slightly rounded ones. When a code block is configured without a background color, using a border would be a nice decorative alternative.

If these code block features can be implemented, I believe the user experience of Presenterm would be significantly improved—potentially making it one of the best tools in its category.

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