How To Show Html Character Entity Reference (e.g. <) In Markdown

December 19, 2017

Html Character Reference Entity

  • < = &lt;
  • > = &gt;

If you try to show &lt; in markdown, it might end up showing as <.

To show raw &lt; use

`&lt;`

or

```
&lt;
```
This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.