Education must also train one for quick, resolute and effective thinking.

Written by Arafat on

Prism highlighter is a very powerful thing. In this article I'm going to show you what you can actually do with it, some tricks and tips while editing your post. Tocs is also enabled as you can see in summary.
Memoirs theme has Prism highlighter integrated. I will show you in this post a few examples of how it looks if you are a developer planning to add pieces of code on your website.
HTML
<li class="ml-1 mr-1">
<a target="_blank" href="#">
<i class="fab fa-twitter"></i>
</a>
</li>
HTML
CSS
.highlight .c {
color: #999988;
font-style: italic;
}
.highlight .err {
color: #a61717;
background-color: #e3d2d2;
}
CSS
JS
// alertbar later
$(document).scroll(function () {
var y = $(this).scrollTop();
if (y > 280) {
$('.alertbar').fadeIn();
} else {
$('.alertbar').fadeOut();
}
});
JavaScript
Python
print("Hello World")
Python
Ruby
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
Ruby
C
printf("Hello World");
C
Explore more like this
Les Ambassadeurs, the first Restaurant we Visited in Paris
Within the Hôtel de Crillon, which was built in 1758, Les Ambassadeurs operated as a restaurant since the mid-19th century. It reached its peak of fame as a restaurant and...

Memoirs supports external images as featured
Adding images is a very annoying task, I know that, but “Memoirs” theme has external featured images integrated so your publishing task becomes easier now.

Spoliers Inside - a film review needs hidden spoilers like this post
Director Roland Suso Richter’s enigmatic psychological thriller (direct to video/DVD) was based upon screenwriter Michael Cooney’s own play “Point of Death” - a title that gave away the film’s entire...

Comments