-
-
Notifications
You must be signed in to change notification settings - Fork 44
What content models are allowed? #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Nope, but I think that there should be! |
I'm doing some post-processing for a program that uses .md for a file format, and I just don't really feel like I have a handle as to whether I'm actually handling all the possible combinations. Do I worry about arbitrary markup in tables? Is this something that isn't necessarily possible the written markdown form but still allowed in the syntax nodes? etc. |
Hmm, interesting. What is and isn’t allowed depends on the node. I think it would make sense to document this. HTML does it as well. |
* Update to the new style of unist <syntax-tree/unist@8055bf4> * Rename `Text` > `Literal`, `TextNode` > `Text` (syntax-tree/unist#17) * Reword definitions * Add introduction, references, links to terms * Add common mixins for shared fields * Move enumerations to their own section * Add description of content models (GH-21) * Remove marking of YAML as non-standard Related to syntax-tree/unist#18 Related to syntax-tree/unist#17 Closes GH-21.
* Update to the new style of unist <syntax-tree/unist@8055bf4> * Rename `Text` > `Literal`, `TextNode` > `Text` (syntax-tree/unist#17) * Reword definitions * Add introduction, references, links to terms * Add common mixins for shared fields * Move enumerations to their own section * Add description of content models (GH-21) * Remove marking of YAML as non-standard * Make `list.ordered` optional (default: `false`) * Make `list.loose` optional (default: `false`) * Make `listItem.loose` optional (default: `false`) * Make `table.align` optional * Add references to CSS Text for alignTypes Related to syntax-tree/unist#18 Related to syntax-tree/unist#17 Closes GH-21.
* Update to the new style of unist <syntax-tree/unist@8055bf4> * Rename `Text` > `Literal`, `TextNode` > `Text` (syntax-tree/unist#17) * Reword definitions * Add introduction, references, links to terms * Add common mixins for shared fields * Move enumerations to their own section * Add description of content models (GH-21) * Remove marking of YAML as non-standard * Make `list.ordered` optional (default: `false`) * Make `list.loose` optional (default: `false`) * Remove `listItem.loose` (use `list.loose instead) * Make `table.align` optional * Add references to CSS Text for alignTypes Related to syntax-tree/unist#18 Related to syntax-tree/unist#17 Closes GH-21. Reviewed-by: Christian Murphy <Christian.Murphy.42@gmail.com> Reviewed-by: Ika <ikatyang@gmail.com>
Is there anywhere that defines what children are allowed in what nodes?
The text was updated successfully, but these errors were encountered: