vendor:cmark -> vendor:commonmark

This commit is contained in:
Jeroen van Rijn
2022-09-01 23:44:38 +02:00
parent 635c7fa153
commit c39b1a31db
7 changed files with 10 additions and 6 deletions

4
vendor/README.md vendored
View File

@@ -136,9 +136,9 @@ See also LICENSE in the `GGPO` directory itself.
See also LICENSE in the `botan` directory itself.
Includes full bindings as well as wrappers to match the `core:crypto` API.
## CMark
## CommonMark
[CMark](https://github.com/commonmark/cmark) CommonMark parsing library.
See also LICENSE in the `cmark` directory itself.
See also LICENSE in the `commonmark` directory itself.
Includes full bindings and Windows `.lib` and `.dll`.

Binary file not shown.

4
vendor/commonmark/build.bat vendored Normal file
View File

@@ -0,0 +1,4 @@
@echo off
pushd W:\Odin-other\Odin-test
call build.bat
popd

View File

@@ -4,7 +4,7 @@
Original authors: John MacFarlane, Vicent Marti, Kārlis Gaņģis, Nick Wellnhofer.
See LICENSE for license details.
*/
package cmark
package commonmark
import "core:c"
import "core:c/libc"

View File

@@ -5,13 +5,13 @@
Original authors: John MacFarlane, Vicent Marti, Kārlis Gaņģis, Nick Wellnhofer.
See LICENSE for license details.
*/
package cmark
package commonmark
/*
Parsing - Simple interface:
```odin
import cm "vendor:cmark"
import cm "vendor:commonmark"
hellope_world :: proc() {
fmt.printf("CMark version: %v\n", cm.version_string())
@@ -30,7 +30,7 @@ package cmark
Parsing - Streaming interface:
```odin
import cm "vendor:cm"
import cm "vendor:commonmark"
streaming :: proc() {
using cm