pamelafox, 2 months ago Anyone used a good markdown parser in Python? To extract structure like lists and headings?
Anyone used a good markdown parser in Python? To extract structure like lists and headings?
mistersql, 2 months ago @pamelafox Mistune v2 has a nice AST (v3 doesn't expose the AST) https://mistune.lepture.com/en/v2/guide.html#astrenderer https://github.com/lepture/mistune
@pamelafox Mistune v2 has a nice AST (v3 doesn't expose the AST)
https://mistune.lepture.com/en/v2/guide.html#astrenderer
https://github.com/lepture/mistune
pamelafox, 2 months ago @mistersql Thanks, forwarded to the person looking!
@mistersql Thanks, forwarded to the person looking!
kjaymiller, 2 months ago @pamelafox I used markdownit to create a custom parser. https://github.com/Python-Community-News/GH-Issues/blob/main/src/gh_issues/issue_parser.py
@pamelafox I used markdownit to create a custom parser. https://github.com/Python-Community-News/GH-Issues/blob/main/src/gh_issues/issue_parser.py
pamelafox, 2 months ago @kjaymiller thanks, forward to alvaro! hes trying to parse github release notes
@kjaymiller thanks, forward to alvaro! hes trying to parse github release notes
kjaymiller, 2 months ago @pamelafox I kinda did this once. In the python community news parser. Let me find a link
@pamelafox I kinda did this once. In the python community news parser. Let me find a link
Add comment