0.33 release

This commit is contained in:
mpeterv
2015-09-27 17:46:47 +03:00
parent 77ebc53344
commit 8c09109924
3 changed files with 15 additions and 3 deletions

View File

@@ -1,4 +1,5 @@
Copyright (c) 2008 Niklas Frykholm Copyright (c) 2008 Niklas Frykholm
Copyright (c) 2015 Peter Melnichenko
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@@ -5,7 +5,7 @@
This is an implementation of the popular text markup language Markdown in pure Lua. This is an implementation of the popular text markup language Markdown in pure Lua.
Markdown can convert documents written in a simple and easy to read text format Markdown can convert documents written in a simple and easy to read text format
to well-formatted HTML. For a more thourough description of Markdown and the Markdown to well-formatted HTML. For a more thorough description of Markdown and the Markdown
syntax, see http://daringfireball.net/projects/markdown/. syntax, see http://daringfireball.net/projects/markdown/.
The original Markdown source is written in Perl and makes heavy use of advanced The original Markdown source is written in Perl and makes heavy use of advanced
@@ -41,4 +41,14 @@ lua markdown.lua -h
For a description of the command-line options. For a description of the command-line options.
## Installation
Simply copy `markdown.lua` into your directory for Lua libraries. Alternatively,
use [LuaRocks](https://luarocks.org/) and run `[sudo] luarocks install markdown`.
## Miscellaneous
`markdown.lua` uses the same license as Lua, the MIT license. `markdown.lua` uses the same license as Lua, the MIT license.
An alternative Markdown implementation is [lua-discount](http://asbradbury.org/projects/lua-discount/).
It is faster than `markdown.lua`, at the cost of being written in C.

View File

@@ -10,11 +10,12 @@ description = {
homepage = "https://github.com/mpeterv/markdown" homepage = "https://github.com/mpeterv/markdown"
} }
dependencies = { dependencies = {
"lua >= 5.1" "lua >= 5.1, < 5.4"
} }
build = { build = {
type = "builtin", type = "builtin",
modules = { modules = {
markdown = "markdown.lua" markdown = "markdown.lua"
} },
copy_directories = {}
} }