Proektsoftbg / Calcpad

Free and open source software for mathematical and engineering calculations.
https://calcpad.eu
MIT License
323 stars 39 forks source link

feature request: title syntax highlighting #62

Closed cser closed 1 year ago

cser commented 1 year ago

I just suggest improving readability of title comments. How about to make it bold with full-line background? image

Proektsoftbg commented 1 year ago

Yes, it looks very good and it is also easy to implement.

Thank you for this suggestion! I will include it in the next update.

hildebrandopsj commented 1 year ago

Good catch by @cser! I would just add the same feature with HTML titles ;)

Proektsoftbg commented 1 year ago

I added this in the new release:

https://github.com/Proektsoftbg/Calcpad/releases/tag/v5.8.6

hildebrandopsj commented 1 year ago

Hi @Proektsoftbg it's hard to do the same with html titles?

Proektsoftbg commented 1 year ago

@hildebrandopsj I am not sure I understand what you mean:

  1. The same Calcpad titles, but in the output or
  2. Titles in the source code that are Html: '<h1>Title</h1>
hildebrandopsj commented 1 year ago

Sorry, for that, but i mean the Titles in the source code that are Html

Proektsoftbg commented 1 year ago

This will be more difficult to do, because the content between tags is not currently parsed. I will try it for some other release. Titles with double quotes are a native Calcpad feature that comes from the calcpad language and they are parsed. I only had to add the decoration.

hildebrandopsj commented 1 year ago

OK! Leave it as it is, I won't die from it ;)

Proektsoftbg commented 1 year ago

@hildebrandopsj Thank you! I really hope so ;)