Open
Description
In u-options.json
we have the following test case:
{
"src": "{#tag u:dir=rtl u:locale=ar}content{/ns:tag}",
"exp": "content",
"expErrors": [{ "type": "bad-option" }, { "type": "bad-option" }],
"expParts": [
{
"type": "markup",
"kind": "open",
"name": "tag"
},
{
"type": "literal",
"value": "content"
},
{
"type": "markup",
"kind": "close",
"name": "ns:tag"
}
]
},
I think there should not be any error here.
Implementations are free to use markdown as needed, as friendly as possible for the environment where they are used.
The markdown is largely left unspecified.
We don't say what options are valid or not.
I guess in the test above the expErrors
is caused by u:dir=rtl
and u:locale=ar
?
These are in fact very useful options to have in markdown.
If one uses the MF2 markdown to produce html then these options map very naturally to dir
and lang
.