Beliavsky / FortranTip

Short instructional Fortran codes associated with Twitter @FortranTip
https://zmoon.github.io/FortranTipBrowser/
The Unlicense
64 stars 14 forks source link

syntax highlighting #24

Open zmoon opened 2 years ago

zmoon commented 2 years ago

It looks nice with carbon, but also occasionally exposing some issues with Highlight.js Fortran support (or the way carbon is using it?), which is too bad.

e.g.:

Beliavsky commented 2 years ago

Yes, I noticed that. Trouble with "word", len_trim etc. I may post a request for help on Fortran Discourse.

zmoon commented 2 years ago

Also I feel like intent and character should get the same color, but maybe I am wrong?

zmoon commented 2 years ago

Also in that theme the two red-ish colors are pretty hard to tell apart, at least on my laptop screen

Beliavsky commented 2 years ago

I raised an issue: https://github.com/highlightjs/highlight.js/issues/3450 .

joshgoebel commented 2 years ago

Suggest filing an issue/support request with Carbon.

zmoon commented 2 years ago

https://github.com/carbon-app/carbon/issues/1308 is now closed, the issue in the example with words and such is fixed.

image