From 8c09109924b218aaecbfd4d4b1de538269c4d765 Mon Sep 17 00:00:00 2001 From: mpeterv Date: Sun, 27 Sep 2015 17:46:47 +0300 Subject: [PATCH] 0.33 release --- LICENSE | 1 + README.md | 12 +++++++++++- markdown-scm-1.rockspec | 5 +++-- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/LICENSE b/LICENSE index 2818282..c6edc0b 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,5 @@ Copyright (c) 2008 Niklas Frykholm +Copyright (c) 2015 Peter Melnichenko Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 2fefdbc..c2c3578 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ 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 -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/. 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. +## 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. + +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. diff --git a/markdown-scm-1.rockspec b/markdown-scm-1.rockspec index 93f2a47..7fd4203 100644 --- a/markdown-scm-1.rockspec +++ b/markdown-scm-1.rockspec @@ -10,11 +10,12 @@ description = { homepage = "https://github.com/mpeterv/markdown" } dependencies = { - "lua >= 5.1" + "lua >= 5.1, < 5.4" } build = { type = "builtin", modules = { markdown = "markdown.lua" - } + }, + copy_directories = {} }