Is it possible to get original input of emphasis and strongs? #1036
Answered
by
wooorm
Saul-Mirone
asked this question in
Q&A
-
The currently AST can only get structure like: {
"type": "emphasis",
"children": [
{
"type": "text",
"value": "asd",
"position": {...}
}
],
"position": {...}
} Is it possible for users to write a plugin to get the original input marker( |
Beta Was this translation helpful? Give feedback.
Answered by
wooorm
Aug 29, 2022
Replies: 1 comment 3 replies
-
Yes. Use positional info and the original input file to get the character at the spot the emphasis/strong starts. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
Saul-Mirone
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes. Use positional info and the original input file to get the character at the spot the emphasis/strong starts.