mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
vendor:cmark -> vendor:commonmark
This commit is contained in:
Vendored
+2
-2
@@ -136,9 +136,9 @@ See also LICENSE in the `GGPO` directory itself.
|
|||||||
See also LICENSE in the `botan` directory itself.
|
See also LICENSE in the `botan` directory itself.
|
||||||
Includes full bindings as well as wrappers to match the `core:crypto` API.
|
Includes full bindings as well as wrappers to match the `core:crypto` API.
|
||||||
|
|
||||||
## CMark
|
## CommonMark
|
||||||
|
|
||||||
[CMark](https://github.com/commonmark/cmark) CommonMark parsing library.
|
[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`.
|
Includes full bindings and Windows `.lib` and `.dll`.
|
||||||
Vendored
BIN
Binary file not shown.
Vendored
+4
@@ -0,0 +1,4 @@
|
|||||||
|
@echo off
|
||||||
|
pushd W:\Odin-other\Odin-test
|
||||||
|
call build.bat
|
||||||
|
popd
|
||||||
+1
-1
@@ -4,7 +4,7 @@
|
|||||||
Original authors: John MacFarlane, Vicent Marti, Kārlis Gaņģis, Nick Wellnhofer.
|
Original authors: John MacFarlane, Vicent Marti, Kārlis Gaņģis, Nick Wellnhofer.
|
||||||
See LICENSE for license details.
|
See LICENSE for license details.
|
||||||
*/
|
*/
|
||||||
package cmark
|
package commonmark
|
||||||
|
|
||||||
import "core:c"
|
import "core:c"
|
||||||
import "core:c/libc"
|
import "core:c/libc"
|
||||||
+3
-3
@@ -5,13 +5,13 @@
|
|||||||
Original authors: John MacFarlane, Vicent Marti, Kārlis Gaņģis, Nick Wellnhofer.
|
Original authors: John MacFarlane, Vicent Marti, Kārlis Gaņģis, Nick Wellnhofer.
|
||||||
See LICENSE for license details.
|
See LICENSE for license details.
|
||||||
*/
|
*/
|
||||||
package cmark
|
package commonmark
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Parsing - Simple interface:
|
Parsing - Simple interface:
|
||||||
|
|
||||||
```odin
|
```odin
|
||||||
import cm "vendor:cmark"
|
import cm "vendor:commonmark"
|
||||||
|
|
||||||
hellope_world :: proc() {
|
hellope_world :: proc() {
|
||||||
fmt.printf("CMark version: %v\n", cm.version_string())
|
fmt.printf("CMark version: %v\n", cm.version_string())
|
||||||
@@ -30,7 +30,7 @@ package cmark
|
|||||||
Parsing - Streaming interface:
|
Parsing - Streaming interface:
|
||||||
|
|
||||||
```odin
|
```odin
|
||||||
import cm "vendor:cm"
|
import cm "vendor:commonmark"
|
||||||
|
|
||||||
streaming :: proc() {
|
streaming :: proc() {
|
||||||
using cm
|
using cm
|
||||||
Reference in New Issue
Block a user