Skip to content
Lua binding to libsoldout
C Other
  1. C 98.2%
  2. Other 1.8%
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
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".

You can’t perform that action at this time.