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

added source.go for syntax highlighting on code blocks #8215

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

belfie13
Copy link

the code blocks were just shown as raw preformatted text with the golang code block.

I changed the code block info string to the value of the go language tm_scope from linguist in https://github.com/github-linguist/linguist/blob/main/lib/linguist/languages.yml which works fine on my end.

I hope the highlight issue is a global thing, i've tested it on another browser.

I can update the other files if this is accepted, thank you.

@jmorganca
Copy link
Member

Thanks for the PR! And nice find. Does go also work? If so, let's use that.

@jmorganca jmorganca self-assigned this Dec 23, 2024
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

Successfully merging this pull request may close these issues.

2 participants