File: my_hooks.py

package info (click to toggle)
app-model 0.4.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 832 kB
  • sloc: python: 5,436; makefile: 4
file content (7 lines) | stat: -rw-r--r-- 201 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
from typing import Any


def on_page_markdown(md: str, **kwargs: Any) -> str:
    T = "::: app_model.types"
    T2 = T + "\n\toptions:\n\t\tdocstring_section_style: table"
    return md.replace(T, T2)