diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-12 20:28:17 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-12 20:30:36 -0800 |
commit | 292b0bdad1aa79483a7498e72028bbff8134cebb (patch) | |
tree | b7570099b327da3fab64cf77e92052d99416132a | |
parent | 5ddf8743f02132f07aad4bb27e0b84c530a706d7 (diff) |
Moved python, rb, lua wrappers to wrappers subdirectory.
-rw-r--r-- | README.md | 7 | ||||
-rwxr-xr-x | wrappers/wrapper.lua (renamed from wrapper.lua) | 0 | ||||
-rwxr-xr-x | wrappers/wrapper.py (renamed from wrapper.py) | 0 | ||||
-rwxr-xr-x | wrappers/wrapper.rb (renamed from wrapper.rb) | 0 | ||||
-rwxr-xr-x | wrappers/wrapper3.py (renamed from wrapper3.py) | 0 |
5 files changed, 3 insertions, 4 deletions
@@ -16,8 +16,7 @@ written in standard C99 and has no library dependencies. The parser is very fast (see [benchmarks](benchmarks.md)). It is easy to use `libcmark` in python, lua, ruby, and other dynamic -languages: see `wrapper.py`, `wrapper.lua`, and `wrapper.rb` in the -repository for simple examples. +languages: see the `wrappers/` subdirectory for some simple examples. The JavaScript implementation is a single JavaScript file, with no dependencies, that can be linked to in an HTML page. Here @@ -30,8 +29,8 @@ var parsed = reader.parse("Hello *world*"); var result = writer.render(parsed); ``` -A node package is also available; it includes a command-line tool called -`commonmark`. +A node package is also available (`npm install commonmark`). It includes +a command-line tool called `commonmark`. **A note on security:** Neither implementation attempts to sanitize link attributes or diff --git a/wrapper.lua b/wrappers/wrapper.lua index 11c5183..11c5183 100755 --- a/wrapper.lua +++ b/wrappers/wrapper.lua diff --git a/wrapper.py b/wrappers/wrapper.py index 52cbfc7..52cbfc7 100755 --- a/wrapper.py +++ b/wrappers/wrapper.py diff --git a/wrapper.rb b/wrappers/wrapper.rb index 59a9b87..59a9b87 100755 --- a/wrapper.rb +++ b/wrappers/wrapper.rb diff --git a/wrapper3.py b/wrappers/wrapper3.py index 7a777fa..7a777fa 100755 --- a/wrapper3.py +++ b/wrappers/wrapper3.py |