Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork155
-
Hello! My name is Micah. I am looking to create a specialized parser based on markdown. We have a documentation system that takes in markdown and spits out html. BUT, we have a few custom tags in the mix. Currently, we have no linter, so I am looking to bring some automation and error checking into the mix. Here's an example: (Above I have spaces between backticks. In real life, the spaces wouldn't be there) Ideally, everything between and (inclusive) would be part of an HTML block. I really just need to match the div tags. Then, I can make sure that the {{#tab}} and {{/end}} match.Right now, as soon as it hits the newline inside the HTML, it switches to paragraph: Any help is much appreciated! Thanks. Originally posted by@dogeared in#752 (comment) |
BetaWas this translation helpful?Give feedback.
All reactions
Replies: 1 comment 1 reply
-
📝 I've moved it to new thread.
Probably, you need to create custom textlint plugin for your customized markdown format. textlint's built-in@textlint/textlint-plugin-markdown isremark-based parser.
remark make same result, but I feel that is a bit strange. |
BetaWas this translation helpful?Give feedback.
All reactions
-
Fmm, CommonMark spec look like defines this result. |
BetaWas this translation helpful?Give feedback.
All reactions
This discussion was converted from issue #802 on July 20, 2021 06:29.

