An example post about code insertion into posts.
The following example shows how to highlight a piece of code throughout the use of Javascript:
Another snippet rendered with the CSS code syntax:
@import url('https://fonts.googleapis.com/css?family=Alfa+Slab+One|Gentium+Book+Basic');
/* Reset CSS
* --------------------------------------- */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,
form,fieldset,input,textarea,p,blockquote,th,td {
padding: 0;
margin: 0;
}
a{
text-decoration:none;
}
table {
border-spacing: 0;
}
fieldset,img {
border: 0;
}
address,caption,cite,code,dfn,em,strong,th,var {
font-weight: normal;
font-style: normal;
}
<div id="fullpage">
<div data-anchor="0section" class="section" id="section0">
<h1 class="heavy">Ready to follow <br />your <span class="pink">dreams?</span></h1>
<br /><h2 class="large-blur">
<span class="highlight-container"><span class="highlight">
Put your dreams on first and follow that!
</span></span>
<br />
</h2>
<div class="intro-scroll-down">
<a data-menuanchor="1section" href="#1section">
<span class="mouse">
<span class="mouse-dot"></span>
</span>
</a>
</div>
</div>
Check the markdown of this example in order to fully comprehend the correct syntax.
Here you can find more detailed information.