<title>feat(cheddar): Implement highlighting of CL and bug shortlinks</title>
<updated>2021-05-04T15:50:26+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>mail@tazj.in</email>
...</author>
<published>2021-04-30T21:59:24+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=a9902dadcf080991c587a69e066a8b77b7b1cb94"/>
<id>urn:sha1:a9902dadcf080991c587a69e066a8b77b7b1cb94</id>
<content type="text">
Implements highlighting of shortlinks like cl/123, or b/123.
Highlighting works by replacing the input Markdown using a simple
regular expression replacement.
We also considered parsing and replacing these links in the Markdown
AST, but it would have been significantly more complex (due to arena
allocation) for little upside and no obvious performance benefit.
Change-Id: I53f03fb17491046d89d0b7f605929571c11ee9a8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3082
Tested-by: BuildkiteCI
Reviewed-by: eta <eta@theta.eu.org>
</content>