codingagentlinkbuilding.comby LinkBunny

Markdown nofollow recipes

Add rel="nofollow" to one Markdown link, by generator

Markdown link syntax, [text](url), has nowhere to put a rel attribute. Each static site generator needs its own way to add rel="nofollow" to a single link, and some drop the obvious fix without an error. Pick yours below.

  • Six generators
  • Built on 10 November 2026
  • HTML copied from each build

Pick your generator

Each recipe has the Markdown you write, the HTML the build wrote, one gotcha found in the same build and a command to check your own output.

Generator How to add rel to one link Inline HTML in Markdown by default Tested with
Astro Inline <a> tag Kept Astro 7.4.8
Hugo Shortcode Omitted (unsafe = false) Hugo 0.169.0
Next.js MDX JSX <a> tag in .mdx .mdx: JSX kept. .md: tag dropped Next.js 16.4.6 with Turbopack
Jekyll kramdown attribute list {:rel="nofollow"} Kept Jekyll 4.4.1
Docusaurus JSX <a> tag (MDX) Parsed as MDX JSX Docusaurus 3.10.2
Eleventy Inline <a> tag Kept (html: true) Eleventy 3.1.8

All six builds wrote the same opening tag for the recipe's link:

Built tag, all six generators
<a href="https://logsift.example/guides/job-logs" rel="nofollow">

Check the build, not the Markdown

The built HTML is what readers and crawlers get. A Markdown file can look right and still build a link with no rel, or no link at all.

Paste a built page into the built HTML link audit to list every outside link with its anchor text and rel value. It runs in your browser, and it can compare a page built from your branch with the same page built from main.

How the recipes were tested

Each generator got a minimal project with one Markdown page: the same paragraph, the same link and a plain Markdown link for comparison. Each project was built locally on 10 November 2026 with the versions listed on its recipe page. The HTML excerpts on the recipe pages are copied from those builds without edits.

Only those versions were tested. Older or newer versions, a different Markdown processor, or a plugin that rewrites links can build different HTML, so check your own output.

Next steps with LinkBunny

Placing a LinkBunny exchange link?

LinkBunny exchange links must use nofollow. Your coding agent can follow this recipe when it places one, and the first exchange is free for one site.

Read the agent docs

After the deploy, check the live page

LinkBunny's nofollow link checker fetches a public page and lists each link on it with its rel value, so you can confirm the link survived the deploy.

Open the nofollow link checker