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

First line of shell code is not highlighted #11

Open
vallentin opened this issue Jul 28, 2023 · 0 comments
Open

First line of shell code is not highlighted #11

vallentin opened this issue Jul 28, 2023 · 0 comments

Comments

@vallentin
Copy link

Hey. Thanks for the extension, this was exactly what I needed.

However, I encountered an issue. Sometimes the first line of shell code is not highlighted correctly. I tested a few other languages, and they seem to work fine.

- bash: | # shell
    # Foo
    # Bar
    # Baz

- bash: | # shell
    echo Foo
    echo Bar
    echo Baz

image

However, the following case works fine.

- bash: | # shell
    if [ -e foo/bar ]; then
      echo Foo
      echo Bar
    fi

image

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

No branches or pull requests

1 participant