mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 06:00:25 +03:00
markup: Fix typo in function and struct names
This commit is contained in:
parent
4c46f9400b
commit
382c726e63
4 changed files with 22 additions and 22 deletions
|
@ -81,7 +81,7 @@ func (ns *Namespace) Highlight(s any, lang string, opts ...any) (template.HTML,
|
|||
}
|
||||
|
||||
// HighlightCodeBlock highlights a code block on the form received in the codeblock render hooks.
|
||||
func (ns *Namespace) HighlightCodeBlock(ctx hooks.CodeblockContext, opts ...any) (highlight.HightlightResult, error) {
|
||||
func (ns *Namespace) HighlightCodeBlock(ctx hooks.CodeblockContext, opts ...any) (highlight.HighlightResult, error) {
|
||||
var optsv any
|
||||
if len(opts) > 0 {
|
||||
optsv = opts[0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue