Skip to content

Commit

Permalink
🔧 Update MkDocs config with new Markdown plugins and configs
Browse files Browse the repository at this point in the history
  • Loading branch information
tiangolo committed Aug 3, 2024
1 parent 5a81ec7 commit b0ba09a
Showing 1 changed file with 25 additions and 19 deletions.
44 changes: 25 additions & 19 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,25 +115,31 @@ nav:
- Release Notes: release-notes.md

markdown_extensions:
- toc:
permalink: true
- markdown.extensions.codehilite:
guess_lang: false
- admonition
- codehilite
- extra
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format ''
- pymdownx.tabbed:
alternate_style: true
- mdx_include:
base_path: docs
# Enable while writing docs to simplify highlighting
# - pymdownx.highlight:
# linenums: true
toc:
permalink: true
markdown.extensions.attr_list:
markdown.extensions.tables:
markdown.extensions.md_in_html:

pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format ''
pymdownx.betterem:
pymdownx.blocks.details:
pymdownx.blocks.admonition:
types:
- note
- info
- tip
- warning
- danger
- check
pymdownx.blocks.tab:
alternate_style: True
mdx_include:
base_path: docs

extra:
analytics:
Expand Down

0 comments on commit b0ba09a

Please sign in to comment.