File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 11# Ecosystem
2+ [ TOC]
23
34Increasingly, packages are being built on top of pandas to address
45specific needs in data preparation, analysis and visualization. This is
Original file line number Diff line number Diff line change 4545from packaging import version
4646import requests
4747import yaml
48+ from markdown .extensions .toc import TocExtension
4849
4950api_token = os .environ .get ("GITHUB_TOKEN" )
5051if api_token is not None :
@@ -487,7 +488,15 @@ def main(
487488 )
488489 else :
489490 body = markdown .markdown (
490- content , extensions = context ["main" ]["markdown_extensions" ]
491+ content ,
492+ extensions = [
493+ TocExtension (toc_depth = "2-3" , permalink = " #" ),
494+ "tables" ,
495+ "fenced_code" ,
496+ "meta" ,
497+ "footnotes" ,
498+ "codehilite" ,
499+ ]
491500 )
492501 # Apply Bootstrap's table formatting manually
493502 # Python-Markdown doesn't let us config table attributes by hand
You can’t perform that action at this time.
0 commit comments