Skip to content

Language detection not working correctly #13

@Pencilcaseman

Description

@Pencilcaseman

I think there is an issue with the automatic language detection, as the code highlighting doesn't appear to match the language being used.

For example, if I put this code directly into Carbon (with language="auto"), I get the following output:

carbon (4)

However, if I put the exact same code into an issue it doesn't get formatted in the same way (using all default settings):


View raw code

# This is a comment
def main():
    print("Hello, World")


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