Skip to main content

Path Headers

A path header records a file's location using syntax valid for that language. Python, JavaScript and TypeScript, shell, PHP, HTML, and Markdown use dedicated strategies. Markdown uses HTML comments so the path does not become a visible heading.

Strategies preserve required leading content such as shebangs, encoding declarations, and PHP open tags. Unsupported files are skipped rather than modified with guessed syntax.