Lua binding to libsoldout
C Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ext
.gitignore
Makefile
README.md
config.mk
luasoldout.c
test.lua

README.md

luasoldout

A simple lua binding to libsoldout, a lightweight C library that can parse Markdown.

Usage

local soldout = require("soldout")
local markdown_string = [[
This is an
example [Markdown](http://daringfireball.net/projects/markdown/)
paragraph.
]]
local html_string = soldout.markdown(markdown_string [, output, extension]);

output can be one of "html" (default) or "xhtml".
extension can be one of "markdown" (default), "discount" or "natext".