markdown-ast
markdown-ast copied to clipboard
Tiny markdown parser
**Steps to reproduce:** 1. An .md file in CRLF format with these contents is error-free: ``` > hello abc * abcd ``` 2. An .md file in CRLF format with...
[](https://renovatebot.com) Welcome to [Renovate](https://togithub.com/renovatebot/renovate)! This is an onboarding PR to help you understand and configure settings before regular Pull Requests begin. :vertical_traffic_light: To activate Renovate, merge this Pull Request....
`TODO: Write more tests for "\r\n" support` Please open new issues for individual edge cases related to carriage returns.
For example, when `a\n*b*` is parsed, the line break before the italic text is lost. To fix this, we should only trim trailing newlines when we know a block node...
`___` or `***` means "both bold and italic"
Nodes intentionally lack location properties, so they can be mutated, moved, and/or removed with minimal effort. Sometimes, this lack of information makes any code modifications harder to carry out. Transform...