micromarkdown

package module
Version: v0.0.0-...-630cbed Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2014 License: MIT Imports: 3 Imported by: 0

README

#micromarkdown.go

Build Status GoDoc License MIT Coverage Status Gittip donate button Flattr donate button

convert markdown to HTML via golang
this is the golang version of µmarkdown, take a look at the PHP version and the JavaScript version.

##about

License: MIT
Version: 0.1.3
Date: 10.2014

##howto

###test

wget https://github.com/SimonWaldherr/micromarkdown.go/archive/master.zip --no-check-certificate
unzip master.zip
cd ./micromarkdown.go-master/demo/
go run example.go

###use

go get github.com/SimonWaldherr/micromarkdown.go
import mmd "github.com/SimonWaldherr/micromarkdown.go"
import "fmt"

func main() {
  md := mmd.Micromarkdown("#title\n\nlorem *ipsum* dolor sit\namet pluribus **procrastinatio**\n")
  fmt.Println(string(md))
}

##contact

Feel free to contact me via eMail or on Twitter. This software will be continually developed. Suggestions and tips are always welcome.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Micromarkdown

func Micromarkdown(str string) string

Types

type Stack

type Stack struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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