Hugo: allow hl_lines in code fences

Created on 19 Sep 2019  路  2Comments  路  Source: gohugoio/hugo

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 like hl_lines in code fences.

Look at this before: https://github.com/gohugoio/hugo/issues/5963

Enhancement

Most helpful comment

I haven't tested it, but this should be supported in Goldmark -- coming in Hugo next.

All 2 comments

This would be nice, along with the option to enable / disable linenos

I haven't tested it, but this should be supported in Goldmark -- coming in Hugo next.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

digitalcraftsman picture digitalcraftsman  路  3Comments

tjamet picture tjamet  路  3Comments

geddski picture geddski  路  3Comments

bep picture bep  路  3Comments

mumblecrunch picture mumblecrunch  路  3Comments