diff options
-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 |