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

Issue with syntax (code) highlighting in markdown #105

Closed
embano1 opened this issue Nov 27, 2017 · 0 comments
Closed

Issue with syntax (code) highlighting in markdown #105

embano1 opened this issue Nov 27, 2017 · 0 comments

Comments

@embano1
Copy link

embano1 commented Nov 27, 2017

I found a weird issue when using Golang and https://highlightjs.org/ syntax highlighting.
If I specify

```go
...

then code highlighting will not use the design as specified in hjsStyle = "<style>". Basically it will look like:

func test(i int) string {
   fmt.Println("test only")
}

If I do not hint "go" for highlighting, then the formatting style will basically work (and look like other code blocks) but does not cover 100% Go syntax.

Can you reproduce this behaviour?
Thank you.

@embano1 embano1 closed this as completed Apr 25, 2022
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

No branches or pull requests

1 participant