Hugo

0.60.0 Code block with no language specified not rendering as before

I updated hugo version to 0.60.0 and found that this code block changed to


this.

Even thought I have set this params,

pygmentsOptions = "linenos=table"
pygmentsUseClasses = true

code block with no language specified no longer wrapped by table tag.

Before:
before

After:
after

How should I do if if want to render code block as before?

Pygments was removed.

See the release notes: https://gohugo.io/news/0.60.0-relnotes/

Always read the release notes.

1 Like

sorry

No need to apologize. :four_leaf_clover:

1 Like