cogapp-markdown
Installation
SKILL.md
cogapp for Markdown Documentation
Use cogapp to auto-generate sections of markdown files. Cog lets you embed Python code in markdown that produces output inline — the generated content lives in the file alongside the code that created it. Running cog -r regenerates the output, keeping docs in sync with code.
Install
pip install cogapp
Or add "cogapp" to your [dependency-groups] dev dependencies in pyproject.toml.
Markdown Syntax
Use HTML comments as cog markers so the Python code is invisible when the markdown is rendered: