Skip to content
Esc
navigateopen⌘Jpreview
On this page

markdown-destination-scheme-unsupported

Reports a Markdown destination that uses an unsupported URI scheme.

← All Rules

What it does

Reports destinations whose URI scheme is not HTTP, HTTPS, mailto, or tel.

Why it matters

Presswork cannot apply its supported destination semantics to other URI schemes.

Examples

Non-passing

[Local file](file:setup.md)
[FTP mirror](ftp://example.com/setup.md)

Passing

[Setup](setup.md)
[Website](https://example.com/setup)
[Email](mailto:[email protected])

When it applies

This Rule belongs to the configurable markdown-destinations group. Relative repository paths and the four supported external schemes pass scheme validation; Presswork does not fetch network destinations.

References

See Presswork Configuration for Profile selection and src/lib/markdown-destination.ts for scheme classification.