alexwforsythe / code-blocks

Syntax highlighting for Google Docs
https://www.alexwforsythe.com/code-blocks/
MIT License
701 stars 89 forks source link

Bug in Fortran formatting #247

Open EmilyBourne opened 11 months ago

EmilyBourne commented 11 months ago

Firstly thank you very much for this project. It is very handy!

I have been using it to mark-up Fortran code, but it seems there is a bug when using kind suffixes on integers. E.g the following:

a = 1_i64
b = 2._f64

is formatted to: image

As you can see the integer has been stripped away and the kind parameter is not highlighted as being part of the number. I would expect the following to be generated: image