gitea: Index | Files

package highlight

import ""


Package Files


func FileNameToHighlightClass Uses

func FileNameToHighlightClass(fname string) string

FileNameToHighlightClass returns the best match for highlight class name based on the rule of highlight.js.

func NewContext Uses

func NewContext()

NewContext loads highlight map

Package highlight imports 3 packages (graph) and is imported by 72 packages. Updated 2019-08-10. Refresh now. Tools for package owners.