yoshiharuyamashita / blackburn

A Hugo theme built using Yahoo's Pure CSS
MIT License
317 stars 170 forks source link

There is something wrong with highlighting the Golang Markdown #54

Closed usayao closed 7 years ago

usayao commented 7 years ago

There is something wrong with highlighting the Golang Markdown example

 var s string
fmt.Println("hello")

or

 var s string
fmt.Println("hello")

Cannot display normally!

yoshiharuyamashita commented 7 years ago

@usayao

Please could you post a link to a page showing the problem?

Cheers

usayao commented 7 years ago

highlight.js default unsupported Golang

yoshiharuyamashita commented 7 years ago

Try adding:

highlightjs_extra_languages = ["go"]

in your [params] section of your config file.

usayao commented 7 years ago

Thank you

在 2017年9月6日,18:25,Yoshiharu Yamashita notifications@github.com<mailto:notifications@github.com> 写道:

Try adding:

highlightjs_extra_languages = ["go"]

in your [params] section of your config file.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/yoshiharuyamashita/blackburn/issues/54#issuecomment-327442301, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AYa3st0nuPBbGXB35U5hUr9TggEGVwQdks5sfnMPgaJpZM4PM_mg.