1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-10-30 19:56:16 +00:00
mycorrhiza/plugin/parser/creole.go
2020-07-04 22:17:08 +05:00

12 lines
212 B
Go

package parser
import (
"github.com/bouncepaw/mycorrhiza/util"
"github.com/m4tty/cajun"
)
func CreoleToHtml(creole []byte) string {
out, _ := cajun.Transform(string(util.NormalizeEOL(creole)))
return out
}