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

(fortran) does not highlight block statement #2342

Closed
interkosmos opened this issue Jan 2, 2020 · 2 comments
Closed

(fortran) does not highlight block statement #2342

interkosmos opened this issue Jan 2, 2020 · 2 comments
Labels
good first issue Should be easier for first time contributors help welcome Could use help from community language

Comments

@interkosmos
Copy link
Contributor

The Fortran 2008 block statement is not recognised by highlightjs. It should be highlighted like any other intrinsic statement of the language. Example:

<pre><code class="fortran">program main
    implicit none

    block
        real :: r
    end block
end program main</code></pre>

(block is not formatted in bold.)

@joshgoebel
Copy link
Member

Confirmed. Block does not seem to be a keyword at present.

@joshgoebel joshgoebel added good first issue Should be easier for first time contributors help welcome Could use help from community language labels Jan 2, 2020
@joshgoebel joshgoebel changed the title Request: (fortran) highlighting of block statement (fortran) does not highlight block statement Jan 2, 2020
@joshgoebel
Copy link
Member

@interkosmos Any chance you'd be willing to whip up a PR and quick test?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Should be easier for first time contributors help welcome Could use help from community language
Projects
None yet
Development

No branches or pull requests

2 participants