GFM URL Linking: Configuration Option to Suppress Links Inside Code Spans and Blocks
0 reputation · 22 Jul 2020, 05:04 UTC
Goal: Provide a parser‑level option that disables automatic URL and email linking when the URL appears inside inline backticks or fenced triple‑backtick code blocks, while leaving linking active in regular markdown text.
Constraints: The option must not alter existing linking behavior outside code, must be compatible with existing GFM extensions, and should avoid adding overhead that could worsen latency under concurrent request loads. Uncertainty remains about the appropriate flag name, default value, API exposure, and the measurable performance benefit when many large documents contain numerous URLs inside code under high concurrency.
What should the configuration flag be named and what should its default setting be? How should parsers expose this option via their public API or CLI? What latency improvement can be expected when the flag is enabled during concurrent parsing of large documents with many URLs inside code?