Markdown Common Elements
Basic formatting
This note demonstrates some of what Markdown is capable of doing.
And that's how to do it.
{% highlight html %} This note demonstrates some of what [Markdown][some/link] is capable of doing. {% endhighlight %}
Headings
There are six levels of headings. They correspond with the six levels of HTML headings. You've probably noticed them already in the page. Each level down uses one more hash character. But we are using just 4 of them.
Headings can be small
Headings can be small
Headings can be small
Headings can be small
{% highlight raw %}
Heading
Heading
Heading
Heading
{% endhighlight %}
Lists
Ordered list
- Item 1
- A second item
- Number 3
{% highlight raw %}
- Item 1
- A second item
- Number 3 {% endhighlight %}
Unordered list
- An item
- Another item
- Yet another item
- And there's more...
{% highlight raw %}
- An item
- Another item
- Yet another item
- And there's more... {% endhighlight %}
Paragraph modifiers
Quote
Here is a quote. What this is should be self explanatory. Quotes are automatically indented when they are used.
{% highlight raw %}
Here is a quote. What this is should be self explanatory. {% endhighlight raw %}
URLs
URLs can be made in a handful of ways:
- A named link to Mark It Down.
- Another named link to Mark It Down
- Sometimes you just want a URL like https://google.com/.
{% highlight raw %}
- A named link to MarkItDown.
- Another named link to MarkItDown
- Sometimes you just want a URL like https://google.com/. {% endhighlight %}
Horizontal rule
A horizontal rule is a line that goes across the middle of the page. It's sometimes handy for breaking things up.
{% highlight raw %}
{% endhighlight %}
Images
Markdown can also contain images. I'll need to add something here sometime.
{% highlight raw %} ![Markdowm Image][/image/url] {% endhighlight %}

Figure Caption?
{% highlight raw %} ![Markdowm Image][/image/url]

Bigger Images?
{% highlight raw %} ![Markdowm Image][/image/url]{: class="bigger-image" } {% endhighlight %}
{: class="bigger-image" }
Code
A HTML Example:
{% highlight html %}
Just a test
{% endhighlight %}A CSS Example:
{% highlight css %} pre { padding: 10px; font-size: .8em; white-space: pre; }
pre, table { width: 100%; }
code, pre, tt { font-family: Monaco, Consolas, Inconsolata, monospace, sans-serif; background: rgba(0,0,0,.05); } {% endhighlight %}
A JS Example:
{% highlight js %} // Sticky Header $(window).scroll(function() {
if ($(window).scrollTop() > 900 && !$("body").hasClass('show-menu')) {
$('#hamburguer__open').fadeOut('fast');
} else if (!$("body").hasClass('show-menu')) {
$('#hamburguer__open').fadeIn('fast');
}
}); {% endhighlight %}