Skip to content

The highlight function's options should be optional #9249

@jmooring

Description

@jmooring

Reference: gohugoio/hugoDocs#63

Currently you have to this:

{{ highlight "<div>foo</div> "html" "" }}

It would be better if you could do this:

{{ highlight "<div>foo</div> "html" }}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions