Skip to content

Deactivate this extension on non-executable code blocks #17

Description

@Bengt

This extension gets activated by fenced code blocks, but it does not deactivate when the code is not actually runnable in a terminal:

This is fine:

```sh
echo "Hello, World!"
```

This is fine:

```bash
echo "Hello, World!"
```

This is fine:

```zsh
echo "Hello, World!"
```

This is fine:

```PowerShell
echo "Hello, World!"
```

This is bad:

```JSON
{"echo": "Hello, World!"}
```

This is bad:

```verbatim
echo "Hello, World!"
```

Please provide some way to deactivate this extension on a case-by-case basis.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions