HTML code into README.md on Github
github, markdown
Solution
Try putting your HTML snippet inside an
`
<h2>Example of code</h2>
<pre>
<div class="container">
<div class="block two first">
<h2>Your title</h2>
<div class="wrap">
//Your content
</div>
</div>
</div>
</pre>
`Problem
I tried to put some HTML snippets into my README.md on Github but the HTML codes are parsed. How do I do it? ``` <h2>Example of code</h2> <pre> <div class="container"> <div class="block two first"> <h2>Your title</h2> <div class="wrap"> //Your content </div> </div> </div> </pre> ```