Powerful things you can do with the Markdown editor

Powerful things you can do with the Markdown editor

There are lots of powerful things you can do with the Markdown editor. If you’ve gotten pretty comfortable with writing in Markdown, then you may enjoy some more advanced tips about the types of things you can do with Markdown!

As with the last post about the editor, you’ll want to be actually editing this post as you read it so that you can see all the Markdown code we’re using.

Special formatting

As well as bold and italics, you can also use some other special formatting in Markdown when the need arises, for example:

  • strike through
  • ==highlight==
  • *escaped characters*
  • Quote here

  • <span class="spoiler">My hidden paragraph here.</span>

Writing code blocks

There are two types of code elements which can be inserted in Markdown, the first is inline, and the other is block. Inline code is formatted by wrapping any word or words in back-ticks, like this. Larger snippets of code can be displayed across multiple lines using triple back ticks:

.my-link {
    text-decoration: underline;


<li class="ml-1 mr-1">
    <a target="_blank" href="#">
    <i class="fab fa-twitter"></i>


.highlight .c {
    color: #999988;
    font-style: italic; 
.highlight .err {
    color: #a61717;
    background-color: #e3d2d2; 


// alertbar later
$(document).scroll(function () {
    var y = $(this).scrollTop();
    if (y > 280) {
    } else {


print("Hello World")


require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html


printf("Hello World");

Snapshot Ensemble is created by saving a model each time the learning rate cycle is at the end. Then the saved models are used together during prediction. Source.


Reference lists

The quick brown jumped over the lazy.

Another way to insert links in markdown is using reference lists. You might want to use this style of linking to cite reference material in a Wikipedia-style. All of the links are listed at the end of the document, so you can maintain full separation between content and its source or reference.


You can write equations too:

\[a^2 + b^2 = c^2\]

Inline equation $\sigma^2 = \frac{a}{b}$ is also possible

## Diagrams

Alice->Bob: Hello Bob, how are you?
Note right of Bob: Bob thinks
Bob-->Alice: I am good thanks!

Tweet embedding


Perhaps the best part of Markdown is that you’re never limited to just Markdown. You can write HTML directly in the Markdown editor and it will just work as HTML usually does. No limits! Here’s a standard YouTube embed code as an example:

Related Posts

Non-linear activation

A good start eases the journey

Initialization for efficient training

The tales of convolutions

The wonders of local feature extraction using convolutions