diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-09-23 00:15:39 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-09-23 00:15:39 +0200 |
commit | 425bb2ef451f887a1377ab72293a06e57c9475db (patch) | |
tree | 3007d17f700dbfb55aea0a05f56e8477da1a3ee2 /src/node-types.json | |
parent | 7e2765bca7f2d499c30c471b8746e7062ab12b90 (diff) |
Test some things
Diffstat (limited to 'src/node-types.json')
-rw-r--r-- | src/node-types.json | 29 |
1 files changed, 26 insertions, 3 deletions
diff --git a/src/node-types.json b/src/node-types.json index 9ee8b4b..68c7ce1 100644 --- a/src/node-types.json +++ b/src/node-types.json @@ -136,6 +136,25 @@ } }, { + "type": "inline_node", + "named": true, + "fields": {}, + "children": { + "multiple": false, + "required": true, + "types": [ + { + "type": "comment", + "named": true + }, + { + "type": "node", + "named": true + } + ] + } + }, + { "type": "node", "named": true, "fields": { @@ -200,14 +219,14 @@ "fields": {}, "children": { "multiple": true, - "required": false, + "required": true, "types": [ { - "type": "comment", + "type": "inline_node", "named": true }, { - "type": "node", + "type": "raw_text", "named": true } ] @@ -242,6 +261,10 @@ "named": true }, { + "type": "raw_text", + "named": true + }, + { "type": "string", "named": true }, |