diff options
author | Vincent Ambo <mail@tazj.in> | 2021-04-30T21·59+0200 |
---|---|---|
committer | tazjin <mail@tazj.in> | 2021-05-04T15·50+0000 |
commit | a9902dadcf080991c587a69e066a8b77b7b1cb94 (patch) | |
tree | e65243722bf5bfc77e5ea72223004cc4933419a4 /tools/depot-build.nix | |
parent | 57502cfc4674a66e1967c673668bc7dea0af2ff6 (diff) |
feat(cheddar): Implement highlighting of CL and bug shortlinks r/2565
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>
Diffstat (limited to 'tools/depot-build.nix')
0 files changed, 0 insertions, 0 deletions