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

Reimplement pygmentsCodefencesGuessSyntax #6565

Closed
bep opened this issue Nov 30, 2019 · 0 comments · Fixed by #6569
Closed

Reimplement pygmentsCodefencesGuessSyntax #6565

bep opened this issue Nov 30, 2019 · 0 comments · Fixed by #6569
Assignees
Labels
Bug
Milestone

Comments

@bep
Copy link
Member

@bep bep commented Nov 30, 2019

Use

lexer := lexers.Analyse("package main\n\nfunc main()\n{\n}\n")
@bep bep added the Bug label Nov 30, 2019
@bep bep added this to the v0.60.2 milestone Nov 30, 2019
@bep bep self-assigned this Nov 30, 2019
bep added a commit to bep/goldmark-highlighting that referenced this issue Dec 2, 2019
Note that there isn't much guessing going on in Chroma, but this is in line with its API.

The use for this is currently people who want all code blocks to have that "Chroma look", with line numbers etc.

See gohugoio/hugo#6565
bep added a commit to bep/goldmark-highlighting that referenced this issue Dec 2, 2019
Note that there isn't much guessing going on in Chroma, but this is in line with its API.

The use for this is currently people who want all code blocks to have that "Chroma look", with line numbers etc.

See gohugoio/hugo#6565
bep added a commit to bep/hugo that referenced this issue Dec 2, 2019
bep added a commit to bep/goldmark-highlighting that referenced this issue Dec 2, 2019
Note that there isn't much guessing going on in Chroma, but this is in line with its API.

The use for this is currently people who want all code blocks to have that "Chroma look", with line numbers etc.

See gohugoio/hugo#6565
bep added a commit to bep/goldmark-highlighting that referenced this issue Dec 2, 2019
Note that there isn't much guessing going on in Chroma, but this is in line with its API.

The use for this is currently people who want all code blocks to have that "Chroma look", with line numbers etc.

See gohugoio/hugo#6565
bep added a commit to bep/goldmark-highlighting that referenced this issue Dec 2, 2019
Note that there isn't much guessing going on in Chroma, but this is in line with its API.

The use for this is currently people who want all code blocks to have that "Chroma look", with line numbers etc.

See gohugoio/hugo#6565
bep added a commit to bep/hugo that referenced this issue Dec 2, 2019
bep added a commit to bep/hugo that referenced this issue Dec 2, 2019
bep added a commit to bep/hugo that referenced this issue Dec 2, 2019
bep added a commit to bep/hugo that referenced this issue Dec 2, 2019
bep added a commit to bep/hugo that referenced this issue Dec 2, 2019
@bep bep closed this in #6569 Dec 2, 2019
bep added a commit that referenced this issue Dec 2, 2019
@bep bep modified the milestones: v0.60.2, v0.61 Dec 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.