External links open in a new tab
Context: Follow-up during Memo 069. Markdown/MDX content links to external sites (GitHub, x402.org, conference page) rendered without target/rel and opened in the same tab. Only hardcoded component links (share buttons, footer) had target=_blank.
Change: Added a self-contained rehype plugin in astro.config.mjs (no new dependency) that adds target="_blank" rel="noopener noreferrer" to every <a> whose href is an absolute http(s) URL outside flowmcp.github.io/flowmcp.org. Internal and relative links are untouched.
Affected files:
Verification: Blog (.md) + ecosystem/x402 (.mdx): all external links target=_blank, internal links unchanged; astro build exit 0; built HTML confirmed.
External links open in a new tab
Context: Follow-up during Memo 069. Markdown/MDX content links to external sites (GitHub, x402.org, conference page) rendered without
target/reland opened in the same tab. Only hardcoded component links (share buttons, footer) hadtarget=_blank.Change: Added a self-contained rehype plugin in
astro.config.mjs(no new dependency) that addstarget="_blank" rel="noopener noreferrer"to every<a>whose href is an absolute http(s) URL outsideflowmcp.github.io/flowmcp.org. Internal and relative links are untouched.Affected files:
Verification: Blog (.md) + ecosystem/x402 (.mdx): all external links target=_blank, internal links unchanged; astro build exit 0; built HTML confirmed.