框架与类库:CommonMark
Using A Python Markdown Ast To Find All Paragraphs
In looking for a way to automatically generate descriptions for pages I stumbled into a markdown ast in python. It allows me to go over the markdown page and get only paragraph text. This will ignore headings, blockquotes, and code fences.
- «
- 1
- »