Trouble with parsing basic markdown in react #92
-
Dear Team, I am ` beginner to the markdown world. I am trying to use markdoc in my react application (with typescript) . I am facing a basic issue of parsing simple markdown content. I am following below example to setup but my application uses with React 17 for some specific reasons. https://markdoc.io/docs/examples/react Below is my markdown file :
I am using below code to parse markdown file but I am not getting the content with expected tags. Could someone help me if I am missing anything here? Server side :
Client side :
Note: When I see AST all the nodes have tags undefined. Any help would be appreciated. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hey @fegigy1, you ran into the issue described here: #82, sorry about that. You can fix the issue above by removing the indentation: # Test H1
## Test H2 |
Beta Was this translation helpful? Give feedback.
Hey @fegigy1, you ran into the issue described here: #82, sorry about that.
We are currently looking into the fix and hope to have it up shortly.
You can fix the issue above by removing the indentation: