Lepton icon indicating copy to clipboard operation
Lepton copied to clipboard

[Feature Request] Syntax Highlighting for .c and .h files (C programming language)

Open ajarmst opened this issue 3 years ago • 2 comments

The more we know about your system and use case, the more easily and likely we can help.

Environment info

  • OS: Windows
  • App Version (Command/Ctrl + ,): 1.1.0

Description of the problem / feature request / question:

When displaying gists labelled as C source (.c) or C header (.h), no syntax highlighting is provided.

ajarmst avatar Jan 08 '23 23:01 ajarmst

Can you share a link of your gists where .c and .h are not syntax-highlighted? This is interesting because I just realized highlight.js which Lepton uses doesn't differentiate C and C++. https://highlightjs.org/static/demo/

hackjutsu avatar Jan 23 '23 05:01 hackjutsu

Same issue here. C files doesn't seems to be syntax highlighted for some reasons. Capture d’écran 2023-06-02 à 12 43 27 But no issue on GitHub : Capture d’écran 2023-06-02 à 12 43 46 Here's a link of the Gist: https://gist.github.com/SebDominguez/824a73b46025880c5b3e7348a613ac89

SebDominguez avatar Jun 02 '23 10:06 SebDominguez