presenterm icon indicating copy to clipboard operation
presenterm copied to clipboard

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

Open tuf612 opened this issue 2 months ago • 1 comments

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.

tuf612 avatar Oct 07 '25 03:10 tuf612

The language and border ones sound good to me. I don't use VS code so I don't know what you mean about vertical bars. Code folding is too much work so almost definitely not.

mfontanini avatar Oct 07 '25 23:10 mfontanini