schema-markdown 1.2.1 → 1.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/lib/parser.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
## Define a Schema
|
|
17
17
|
|
|
18
18
|
Schemas are defined using the
|
|
19
|
-
[Schema Markdown](https://craigahobbs.github.io/schema-markdown-js/language/)
|
|
20
|
-
|
|
19
|
+
[Schema Markdown language](https://craigahobbs.github.io/schema-markdown-js/language/),
|
|
20
|
+
which is parsed by the
|
|
21
21
|
[parseSchemaMarkdown](https://craigahobbs.github.io/schema-markdown-js/module-lib_parser.html#.parseSchemaMarkdown)
|
|
22
22
|
function. For example:
|
|
23
23
|
|
package/lib/parser.js
CHANGED
|
@@ -51,7 +51,7 @@ const rLineSplit = /\r?\n/;
|
|
|
51
51
|
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
|
-
* Parse Schema Markdown from a string or
|
|
54
|
+
* Parse Schema Markdown from a string or an iterator of strings
|
|
55
55
|
*
|
|
56
56
|
* @param {string|string[]} text - The Schema Markdown text
|
|
57
57
|
* @param {Object} [options.types=''] - The [type model]{@link https://craigahobbs.github.io/schema-markdown-doc/doc/#var.vName='Types'}
|