Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upallow hl_lines in code fences #6355
Closed
Labels
Milestone
Comments
This comment has been minimized.
This comment has been minimized.
This would be nice, along with the option to enable / disable linenos |
This comment has been minimized.
This comment has been minimized.
I haven't tested it, but this should be supported in Goldmark -- coming in Hugo next. |
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 12, 2019
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo. If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration: ```toml [markup] defaultMarkdownHandler="blackfriday" ``` Fixes gohugoio#5963 Fixes gohugoio#1778 Fixes gohugoio#6355
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 14, 2019
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo. If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration: ```toml [markup] defaultMarkdownHandler="blackfriday" ``` Fixes gohugoio#5963 Fixes gohugoio#1778 Fixes gohugoio#6355
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 15, 2019
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo. If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration: ```toml [markup] defaultMarkdownHandler="blackfriday" ``` Fixes gohugoio#5963 Fixes gohugoio#1778 Fixes gohugoio#6355
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 16, 2019
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo. If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration: ```toml [markup] defaultMarkdownHandler="blackfriday" ``` Fixes gohugoio#5963 Fixes gohugoio#1778 Fixes gohugoio#6355
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 16, 2019
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo. If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration: ```toml [markup] defaultMarkdownHandler="blackfriday" ``` Fixes gohugoio#5963 Fixes gohugoio#1778 Fixes gohugoio#6355
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 17, 2019
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo. If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration: ```toml [markup] defaultMarkdownHandler="blackfriday" ``` Fixes gohugoio#5963 Fixes gohugoio#1778 Fixes gohugoio#6355
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 17, 2019
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo. If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration: ```toml [markup] defaultMarkdownHandler="blackfriday" ``` Fixes gohugoio#5963 Fixes gohugoio#1778 Fixes gohugoio#6355
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 17, 2019
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo. If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration: ```toml [markup] defaultMarkdownHandler="blackfriday" ``` Fixes gohugoio#5963 Fixes gohugoio#1778 Fixes gohugoio#6355
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 17, 2019
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo. If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration: ```toml [markup] defaultMarkdownHandler="blackfriday" ``` Fixes gohugoio#5963 Fixes gohugoio#1778 Fixes gohugoio#6355
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 17, 2019
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo. If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration: ```toml [markup] defaultMarkdownHandler="blackfriday" ``` Fixes gohugoio#5963 Fixes gohugoio#1778 Fixes gohugoio#6355
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 17, 2019
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo. If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration: ```toml [markup] defaultMarkdownHandler="blackfriday" ``` Fixes gohugoio#5963 Fixes gohugoio#1778 Fixes gohugoio#6355
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 19, 2019
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo. If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration: ```toml [markup] defaultMarkdownHandler="blackfriday" ``` Fixes gohugoio#5963 Fixes gohugoio#1778 Fixes gohugoio#6355
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 19, 2019
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo. If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration: ```toml [markup] defaultMarkdownHandler="blackfriday" ``` Fixes gohugoio#5963 Fixes gohugoio#1778 Fixes gohugoio#6355
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 19, 2019
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo. If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration: ```toml [markup] defaultMarkdownHandler="blackfriday" ``` Fixes gohugoio#5963 Fixes gohugoio#1778 Fixes gohugoio#6355
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 19, 2019
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo. If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration: ```toml [markup] defaultMarkdownHandler="blackfriday" ``` Fixes gohugoio#5963 Fixes gohugoio#1778 Fixes gohugoio#6355
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 23, 2019
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo. If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration: ```toml [markup] defaultMarkdownHandler="blackfriday" ``` Fixes gohugoio#5963 Fixes gohugoio#1778 Fixes gohugoio#6355
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 23, 2019
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo. If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration: ```toml [markup] defaultMarkdownHandler="blackfriday" ``` Fixes gohugoio#5963 Fixes gohugoio#1778 Fixes gohugoio#6355
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 23, 2019
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo. If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration: ```toml [markup] defaultMarkdownHandler="blackfriday" ``` Fixes gohugoio#5963 Fixes gohugoio#1778 Fixes gohugoio#6355
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 23, 2019
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo. If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration: ```toml [markup] defaultMarkdownHandler="blackfriday" ``` Fixes gohugoio#5963 Fixes gohugoio#1778 Fixes gohugoio#6355
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 23, 2019
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo. If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration: ```toml [markup] defaultMarkdownHandler="blackfriday" ``` Fixes gohugoio#5963 Fixes gohugoio#1778 Fixes gohugoio#6355
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It should be possible to make up some syntax, e.g.
```js/hl_lines=8-13
in the rendering hook in Hugo to enable options likehl_lines
in code fences.Look at this before: #5963