highlightjs / highlight.js

JavaScript syntax highlighter with language auto-detection and zero dependencies.
https://highlightjs.org/
BSD 3-Clause "New" or "Revised" License
23.3k stars 3.52k forks source link

Fortran: fixed support of "dotted" keywords/literals #4043

Closed jbloino closed 2 months ago

jbloino commented 2 months ago

This patch fixes the support of Fortran keywords and literals delimited by dots. The matching pattern implements the directives from the standard on the accepted format of keywords in Fortran.

Resolved #3968

Changes

Checklist

github-actions[bot] commented 2 months ago

Build Size Report

Changes to minified artifacts in /build, after gzip compression.

5 files changed

Total change +52 B

View Changes | file | base | pr | diff | | --- | --- | --- | --- | | es/core.min.js | 8.2 KB | 8.2 KB | -3 B | | es/highlight.min.js | 8.2 KB | 8.2 KB | -3 B | | es/languages/fortran.min.js | 2.4 KB | 2.44 KB | +31 B | | highlight.min.js | 8.23 KB | 8.23 KB | -4 B | | languages/fortran.min.js | 2.41 KB | 2.44 KB | +31 B |