mirror of
https://github.com/osmarks/mycorrhiza.git
synced 2024-10-30 19:56:16 +00:00
12 lines
212 B
Go
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
|
|
}
|