Open bradystroud opened 1 month ago
Caleb and I accidentally looked into this in a lot of detail within the scope of #1465.
For the body field, that's defined in the schema for the rule collection, it should be extracted into an external JSON file.
Prior to to the markdown being passed into the function (parseMDX) which we're using the generate the AST tree, use regex to transform the markdown syntax into something Tina will eat.
ex.
::: greybox
### our text
our text
:::
to either....
<greybox
content={<>
### our text
our text
</>}
>
OR
<greybox>
### our text
our text
</greybox>
/::: greybox([\s\S]*?):::/;
Blocked by #1523
All these components will need to