Skip to content

Syntax highlighting #17

@NorthrupAnthony

Description

@NorthrupAnthony

Is there a way you could implement/allow syntax highlighted code blocks using the triple backtick syntax? Only allowing the indented code blocks makes typing stuff much more annoying because I have indent each line individually (or use a regex replace on notepad++, but still).

Example:

``` C
#include <stdio.h>
int main() {
printf("Hello, World.\n");
return 0;
}
```

Results in: (Supported by github)

#include <stdio.h>
int main() {
    printf("Hello, World.\n");
    return 0;
}

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