Parcourir la source

Fix link rendering for correct display in GitHub (#1666)

Unfortunately, GitHub does not render `[file]` as a link to `file`. Instead, `[file](file)` is required.

This patch fixes the rendering of [utils/highlightjs](https://github.com/carbon-language/carbon-lang/tree/trunk/utils/highlightjs)
ooxi il y a 3 ans
Parent
commit
fc0d7a84db
1 fichiers modifiés avec 4 ajouts et 3 suppressions
  1. 4 3
      utils/highlightjs/README.md

+ 4 - 3
utils/highlightjs/README.md

@@ -13,8 +13,8 @@ This directory collects syntax highlighting utilities for use with Carbon code.
 This JavaScript syntax highlighting system is used on webpages or in
 This JavaScript syntax highlighting system is used on webpages or in
 presentation software like [reveal.js](https://revealjs.com/).
 presentation software like [reveal.js](https://revealjs.com/).
 
 
-The code is in [highlightjs_carbon_lang.js], and you can use it by registering
-it after you load highlight.js:
+The code is in [highlightjs_carbon_lang.js](highlightjs_carbon_lang.js), and you
+can use it by registering it after you load highlight.js:
 
 
 ```html
 ```html
 <script type="module">
 <script type="module">
@@ -24,7 +24,8 @@ it after you load highlight.js:
 </script>
 </script>
 ```
 ```
 
 
-See [highlightjs_example.html] for a more complete example.
+See [highlightjs_example.html](highlightjs_example.html) for a more complete
+example.
 
 
 It includes many Carbon-specific markup indicators that may be useful to
 It includes many Carbon-specific markup indicators that may be useful to
 customize display or highlighting of Carbon code.
 customize display or highlighting of Carbon code.