1
0
mirror of synced 2025-12-22 11:26:57 -05:00

Add instructions for comments in Markdown (#21264)

Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com>
This commit is contained in:
Emma Makinson
2021-09-09 23:49:00 +01:00
committed by GitHub
parent 1dbeeb74e0
commit dc9272937b

View File

@@ -271,6 +271,14 @@ You can tell {% data variables.product.product_name %} to ignore (or escape) Mar
For more information, see Daring Fireball's "[Markdown Syntax](https://daringfireball.net/projects/markdown/syntax#backslash)."
## Hiding content with comments
You can tell {% data variables.product.product_name %} to hide content from the rendered Markdown by placing the content in an HTML comment.
<pre>
&lt;!-- This content will not appear in the rendered Markdown --&gt;
</pre>
## Further reading
- [{% data variables.product.prodname_dotcom %} Flavored Markdown Spec](https://github.github.com/gfm/)