diff --git a/deployer/src/deployer/analyze_pr.py b/deployer/src/deployer/analyze_pr.py
index ee8c96541a90..f1e3ddcf20de 100644
--- a/deployer/src/deployer/analyze_pr.py
+++ b/deployer/src/deployer/analyze_pr.py
@@ -90,7 +90,7 @@ def post_about_deployment(build_directory: Path, **config):
for doc in get_built_docs(build_directory):
url = mdn_url_to_dev_url(config["prefix"], doc["mdn_url"])
mdn_url = doc["mdn_url"]
- links.append(f"- [{mdn_url}]({url})")
+ links.append(f"- [`{mdn_url}`]({url})")
links.sort()
if links:
diff --git a/deployer/src/deployer/test_analyze_pr.py b/deployer/src/deployer/test_analyze_pr.py
index c006182b6663..fe3e65dc17e0 100644
--- a/deployer/src/deployer/test_analyze_pr.py
+++ b/deployer/src/deployer/test_analyze_pr.py
@@ -39,7 +39,7 @@ def test_analyze_pr_prefix():
comment = analyze_pr(build_directory, dict(DEFAULT_CONFIG, prefix="pr007"))
assert "Preview URLs" in comment
assert (
- "- [/en-US/docs/Foo](https://pr007.content.dev.mdn.mozit.cloud/en-US/docs/Foo)"
+ "- [`/en-US/docs/Foo`](https://pr007.content.dev.mdn.mozit.cloud/en-US/docs/Foo)"
in comment
)
@@ -55,7 +55,7 @@ def test_analyze_pr_preview_urls():
comment = analyze_pr(build_directory, dict(DEFAULT_CONFIG, prefix="pr007"))
assert "Preview URLs (6 pages)
" in comment
assert (
- "- [/en-US/docs/Foo6](https://pr007.content.dev.mdn.mozit.cloud/en-US/docs/Foo6)\n\n "
+ "- [`/en-US/docs/Foo6`](https://pr007.content.dev.mdn.mozit.cloud/en-US/docs/Foo6)\n\n"
in comment
)
@@ -207,7 +207,7 @@ def test_analyze_pr_prefix_and_postcomment(mocked_github):
)
assert "Preview URLs" in comment
assert (
- "- [/en-US/docs/Foo](https://pr007.content.dev.mdn.mozit.cloud/en-US/docs/Foo)"
+ "- [`/en-US/docs/Foo`](https://pr007.content.dev.mdn.mozit.cloud/en-US/docs/Foo)"
in comment
)