mirror of
https://github.com/Luzifer/korvike.git
synced 2024-12-29 23:51:16 +00:00
9 lines
201 B
Go
9 lines
201 B
Go
package functions
|
|
|
|
import "github.com/russross/blackfriday/v2"
|
|
|
|
func init() {
|
|
registerFunction("markdown", func(name string, v ...string) string {
|
|
return string(blackfriday.Run([]byte(name)))
|
|
})
|
|
}
|