Skip to content

GitHub style ignores “text” code block formatting #66

Description

@antonkravc

From what I understand, if I just use a code block without specifying the language, GitHub style attempts to guess the language and apply appropriate syntax highlighting.

[1, 2, 3, 4]

To avoid that and present raw text without highlighting, a “text” keyword exists.

[1, 2, 3, 4]

But whenever I use this option I always get the same formatting as if I didn’t use it.

EDIT: After publishing this issue it seems that even GitHub doesn’t highlight anything in this snippet while the script does.

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