Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ajarmst opened this issue Jan 8, 2023 · 2 comments
Labels

Comments

@ajarmst
Copy link

ajarmst commented Jan 8, 2023

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.

@hackjutsu
Copy link
Owner

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 hackjutsu added the bug label Jan 23, 2023
@SebDominguez
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants