clean

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2016 License: BSD-3-Clause Imports: 4 Imported by: 2

Documentation

Overview

Package clean contain functions to clean wiki text, including removing wiki syntax, links, and section numbering.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WikiFile

func WikiFile(in, out string)

WikiFile will remove URI, wiki syntax and and mark-up, multiple spaces in content of file `in` and save it in file `out`.

func WikiText

func WikiText(text string) string

WikiText will remove URI, wiki syntax and and mark-up, multiple spaces in text and return it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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