- Commit
- 292b0bdad1aa79483a7498e72028bbff8134cebb
- Parent
- 5ddf8743f02132f07aad4bb27e0b84c530a706d7
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Moved python, rb, lua wrappers to wrappers subdirectory.
My personal build of CMark ✏️
Moved python, rb, lua wrappers to wrappers subdirectory.
5 files changed, 3 insertions, 4 deletions
Status | File Name | N° Changes | Insertions | Deletions |
Modified | README.md | 7 | 3 | 4 |
Renamed | wrapper.lua -> wrappers/wrapper.lua | 0 | 0 | 0 |
Renamed | wrapper.py -> wrappers/wrapper.py | 0 | 0 | 0 |
Renamed | wrapper.rb -> wrappers/wrapper.rb | 0 | 0 | 0 |
Renamed | wrapper3.py -> wrappers/wrapper3.py | 0 | 0 | 0 |
diff --git a/README.md b/README.md @@ -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
diff --git a/wrapper.py b/wrappers/wrapper.py
diff --git a/wrapper.rb b/wrappers/wrapper.rb
diff --git a/wrapper3.py b/wrappers/wrapper3.py