fix: replace HTML flag headers with markdown to prevent emdash rendering#29325
fix: replace HTML flag headers with markdown to prevent emdash rendering#29325nikki-ef wants to merge 1 commit intobazelbuild:masterfrom
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
Flag names like `--verbose` on the flag cheatsheet were rendered with an emdash (—) instead of double dashes (--) due to Mintlify's smart typography converting `--` in prose contexts. Replace `<h3><code><a>` HTML wrappers with markdown inline code links for all 27 flags in the cheatsheet. Hyperlinks are preserved. Fixes bazel-contrib/bazel-docs#366
2c93fd8 to
5655d48
Compare
fweikert
left a comment
There was a problem hiding this comment.
One downside of this change is that we can no longer link to individual flags on this page (since the anchors are being removed). I'm not sure how widely this feature is being used, so for now I'm fine with merging it.
Ah I see the issue. I'll push a fix. Thanks for taking a look! |
Summary
--verboseon the flag cheatsheet are rendered with an emdash (—) instead of double dashes (--) due to Mintlify's smart typography converting--in prose contexts<h3><code><a>HTML wrappers with markdown inline code links ([`--flag`](url)) for all 27 flags indocs/reference/flag-cheatsheet.mdxFixes bazel-contrib/bazel-docs#366
Test plan
--(not —)🤖 Generated with Claude Code