formatter

package
v0.0.0-...-3c0bad3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const MarkdownType = "Markdown"

Variables

This section is empty.

Functions

This section is empty.

Types

type Markdown

type Markdown struct{}

func NewMarkdown

func NewMarkdown() *Markdown

func (Markdown) FormatArticle

func (v Markdown) FormatArticle(a article.Article) string

func (Markdown) FormatAuthor

func (v Markdown) FormatAuthor(author string) string

func (Markdown) FormatContent

func (v Markdown) FormatContent(content string) string

func (Markdown) FormatTitle

func (v Markdown) FormatTitle(title string) string

func (Markdown) FormatType

func (v Markdown) FormatType() string

func (Markdown) FormatURL

func (v Markdown) FormatURL(url string) string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL