-
I want to extend the image syntax like this:
I've tried 1: {type: 'text', value: '{', position: {…}, extraInfo: {…}}
2: {type: 'textDirective', name: 'height', attributes: {…}, children: Array(0), position: {…}, …}
3: {type: 'text', value: '=300}{', position: {…}}
4: {type: 'textDirective', name: 'width', attributes: {…}, children: Array(0), position: {…}, …}
5: {type: 'text', value: '=200}', position: {…}} Can someone help me? Any advice would be appreciated. |
Beta Was this translation helpful? Give feedback.
Answered by
wooorm
Dec 9, 2021
Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
ChristianMurphy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
extraInfo
and ASTs, which are unrelated to micromark. Perhaps good to share what you have and to spend time framing your question? More info: https://github.com/micromark/.github/blob/main/support.md#asking-quality-questions