web-core: github.com/writeas/web-core/posts Index | Files

package posts

import "github.com/writeas/web-core/posts"

Index

Package Files

parse.go render.go

func ApplyBasicMarkdown Uses

func ApplyBasicMarkdown(data []byte) string

func ApplyMarkdown Uses

func ApplyMarkdown(data []byte) string

func ExtractTitle Uses

func ExtractTitle(content string) (title string, body string)

ExtractTitle takes the given raw post text and returns a title, if explicitly provided, and a body.

Package posts imports 5 packages (graph) and is imported by 2 packages. Updated 2019-05-30. Refresh now. Tools for package owners.