Jekyll2021-09-21T22:47:57-04:00https://mmistakes.github.io/jekyll-theme-basically-basic/atom.xmlBasically BasicYour new default Jekyll themeDugan NashPost: Future Date9999-12-31T00:00:00-05:002017-03-09T12:45:25-05:00https://mmistakes.github.io/jekyll-theme-basically-basic/post/post-future-date<p>This post lives in the future and is dated Fri Dec 31 00:00:00 9999. It should only appear when Jekyll builds your project with the <code class="language-plaintext highlighter-rouge">--future</code> flag.</p>
<div class="language-bash highlighter-rouge"><div class="highlight"><pre class="highlight"><code>jekyll build <span class="nt">--future</span>
</code></pre></div></div>Dugan NashThis post lives in the future and is dated Fri Dec 31 00:00:00 9999. It should only appear when Jekyll builds your project with the --future flag.Jekyll Remote Theme Support Added2017-12-01T00:00:00-05:002017-12-01T09:51:16-05:00https://mmistakes.github.io/jekyll-theme-basically-basic/jekyll-remote-theme-support<p>Basically Basic can now be installed remotely for use on GitHub Pages!</p>
<p>The days of having to forking this repo and manually manage updates are over. Simply install the <a href="https://github.com/benbalter/jekyll-remote-theme"><strong>jekyll-remote-theme</strong></a> plugin by doing the following and away you go.</p>
<ol>
<li>
<p>If you’ve previously forked this repo start by removing <code class="language-plaintext highlighter-rouge">_layouts</code>, <code class="language-plaintext highlighter-rouge">_includes</code>, <code class="language-plaintext highlighter-rouge">_sass</code>, <code class="language-plaintext highlighter-rouge">assets/javascripts</code>, and <code class="language-plaintext highlighter-rouge">assets/stylesheets</code>. Be sure to leave any files that you’ve customized so they override the versions bundled in the theme.</p>
</li>
<li>
<p>In your <code class="language-plaintext highlighter-rouge">Gemfile</code> replace <code class="language-plaintext highlighter-rouge">gem "jekyll"</code> with the following:</p>
<div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="n">gem</span> <span class="s2">"github-pages"</span><span class="p">,</span> <span class="ss">group: :jekyll_plugins</span>
<span class="n">gem</span> <span class="s2">"jekyll-remote-theme"</span>
</code></pre></div> </div>
</li>
<li>
<p>Run <code class="language-plaintext highlighter-rouge">bundle update</code> and verify that all gems install properly.</p>
</li>
<li>
<p>Add <code class="language-plaintext highlighter-rouge">remote_theme: "mmistakes/jekyll-theme-basically-basic"</code> to your <code class="language-plaintext highlighter-rouge">_config.yml</code> file.</p>
</li>
<li>
<p>Then add <a href="https://github.com/benbalter/jekyll-remote-theme"><code class="language-plaintext highlighter-rouge">jekyll-remote-theme</code></a> to the <code class="language-plaintext highlighter-rouge">plugins</code> (previously gems) array in your <code class="language-plaintext highlighter-rouge">_config.yml</code> file like so:</p>
<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">plugins</span><span class="pi">:</span>
<span class="pi">-</span> <span class="s">jekyll-remote-theme</span>
</code></pre></div> </div>
</li>
</ol>Dugan NashBasically Basic can now be installed remotely for use on GitHub Pages!Markup: Syntax Highlighting2013-08-16T00:00:00-04:002017-03-09T10:27:01-05:00https://mmistakes.github.io/jekyll-theme-basically-basic/markup-syntax-highlighting<p>Syntax highlighting is a feature that displays source code, in different colors and fonts according to the category of terms. This feature facilitates writing in a structured language such as a programming language or a markup language as both structures and syntax errors are visually distinct. Highlighting does not affect the meaning of the text itself; it is intended only for human readers.<sup id="fnref:1" role="doc-noteref"><a href="#fn:1" class="footnote" rel="footnote">1</a></sup></p>
<h2 id="gfm-code-blocks">GFM Code Blocks</h2>
<p>GitHub Flavored Markdown <a href="https://help.github.com/articles/creating-and-highlighting-code-blocks/">fenced code blocks</a> are supported by default with Jekyll. You may need to update your <code class="language-plaintext highlighter-rouge">_config.yml</code> file to enable them if you’re using an older version.</p>
<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">kramdown</span><span class="pi">:</span>
<span class="na">input</span><span class="pi">:</span> <span class="s">GFM</span>
</code></pre></div></div>
<p>Here’s an example of a CSS code snippet written in GFM:</p>
<div class="language-css highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nf">#container</span> <span class="p">{</span>
<span class="nl">float</span><span class="p">:</span> <span class="nb">left</span><span class="p">;</span>
<span class="nl">margin</span><span class="p">:</span> <span class="m">0</span> <span class="m">-240px</span> <span class="m">0</span> <span class="m">0</span><span class="p">;</span>
<span class="nl">width</span><span class="p">:</span> <span class="m">100%</span><span class="p">;</span>
<span class="p">}</span>
</code></pre></div></div>
<p>Yet another code snippet for demonstration purposes:</p>
<div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="k">module</span> <span class="nn">Jekyll</span>
<span class="k">class</span> <span class="nc">TagIndex</span> <span class="o"><</span> <span class="no">Page</span>
<span class="k">def</span> <span class="nf">initialize</span><span class="p">(</span><span class="n">site</span><span class="p">,</span> <span class="n">base</span><span class="p">,</span> <span class="n">dir</span><span class="p">,</span> <span class="n">tag</span><span class="p">)</span>
<span class="vi">@site</span> <span class="o">=</span> <span class="n">site</span>
<span class="vi">@base</span> <span class="o">=</span> <span class="n">base</span>
<span class="vi">@dir</span> <span class="o">=</span> <span class="n">dir</span>
<span class="vi">@name</span> <span class="o">=</span> <span class="s1">'index.html'</span>
<span class="nb">self</span><span class="p">.</span><span class="nf">process</span><span class="p">(</span><span class="vi">@name</span><span class="p">)</span>
<span class="nb">self</span><span class="p">.</span><span class="nf">read_yaml</span><span class="p">(</span><span class="no">File</span><span class="p">.</span><span class="nf">join</span><span class="p">(</span><span class="n">base</span><span class="p">,</span> <span class="s1">'_layouts'</span><span class="p">),</span> <span class="s1">'tag_index.html'</span><span class="p">)</span>
<span class="nb">self</span><span class="p">.</span><span class="nf">data</span><span class="p">[</span><span class="s1">'tag'</span><span class="p">]</span> <span class="o">=</span> <span class="n">tag</span>
<span class="n">tag_title_prefix</span> <span class="o">=</span> <span class="n">site</span><span class="p">.</span><span class="nf">config</span><span class="p">[</span><span class="s1">'tag_title_prefix'</span><span class="p">]</span> <span class="o">||</span> <span class="s1">'Tagged: '</span>
<span class="n">tag_title_suffix</span> <span class="o">=</span> <span class="n">site</span><span class="p">.</span><span class="nf">config</span><span class="p">[</span><span class="s1">'tag_title_suffix'</span><span class="p">]</span> <span class="o">||</span> <span class="s1">'&#8211;'</span>
<span class="nb">self</span><span class="p">.</span><span class="nf">data</span><span class="p">[</span><span class="s1">'title'</span><span class="p">]</span> <span class="o">=</span> <span class="s2">"</span><span class="si">#{</span><span class="n">tag_title_prefix</span><span class="si">}#{</span><span class="n">tag</span><span class="si">}</span><span class="s2">"</span>
<span class="nb">self</span><span class="p">.</span><span class="nf">data</span><span class="p">[</span><span class="s1">'description'</span><span class="p">]</span> <span class="o">=</span> <span class="s2">"An archive of posts tagged </span><span class="si">#{</span><span class="n">tag</span><span class="si">}</span><span class="s2">."</span>
<span class="k">end</span>
<span class="k">end</span>
<span class="k">end</span>
</code></pre></div></div>
<h2 id="jekyll-highlight-liquid-tag">Jekyll Highlight Liquid Tag</h2>
<p>Jekyll also has built-in support for syntax highlighting of code snippets using either Rouge or Pygments, using a dedicated Liquid tag as follows:</p>
<div class="language-liquid highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">{%</span><span class="w"> </span><span class="nt">highlight</span><span class="w"> </span>scss<span class="w"> </span><span class="p">%}</span>
.highlight {
margin: 0;
padding: 1em;
font-family: $monospace;
font-size: $type-size-7;
line-height: 1.8;
}
<span class="p">{%</span><span class="w"> </span><span class="nt">endhighlight</span><span class="w"> </span><span class="p">%}</span>
</code></pre></div></div>
<p>And the output will look like this:</p>
<figure class="highlight"><pre><code class="language-scss" data-lang="scss"><span class="nc">.highlight</span> <span class="p">{</span>
<span class="nl">margin</span><span class="p">:</span> <span class="m">0</span><span class="p">;</span>
<span class="nl">padding</span><span class="p">:</span> <span class="m">1em</span><span class="p">;</span>
<span class="nl">font-family</span><span class="p">:</span> <span class="nv">$monospace</span><span class="p">;</span>
<span class="nl">font-size</span><span class="p">:</span> <span class="nv">$type-size-7</span><span class="p">;</span>
<span class="nl">line-height</span><span class="p">:</span> <span class="m">1</span><span class="mi">.8</span><span class="p">;</span>
<span class="p">}</span></code></pre></figure>
<p>Here’s an example of a code snippet using the Liquid tag and <code class="language-plaintext highlighter-rouge">linenos</code> enabled.</p>
<figure class="highlight"><pre><code class="language-html" data-lang="html"><table class="rouge-table"><tbody><tr><td class="gutter gl"><pre class="lineno">1
2
3
4
5
6
7
8
</pre></td><td class="code"><pre><span class="nt"><nav</span> <span class="na">class=</span><span class="s">"pagination"</span> <span class="na">role=</span><span class="s">"navigation"</span><span class="nt">></span>
{% if page.previous %}
<span class="nt"><a</span> <span class="na">href=</span><span class="s">"{{ site.url }}{{ page.previous.url }}"</span> <span class="na">class=</span><span class="s">"btn"</span> <span class="na">title=</span><span class="s">"{{ page.previous.title }}"</span><span class="nt">></span>Previous article<span class="nt"></a></span>
{% endif %}
{% if page.next %}
<span class="nt"><a</span> <span class="na">href=</span><span class="s">"{{ site.url }}{{ page.next.url }}"</span> <span class="na">class=</span><span class="s">"btn"</span> <span class="na">title=</span><span class="s">"{{ page.next.title }}"</span><span class="nt">></span>Next article<span class="nt"></a></span>
{% endif %}
<span class="nt"></nav></span><span class="c"><!-- /.pagination --></span>
</pre></td></tr></tbody></table></code></pre></figure>
<h2 id="code-blocks-in-lists">Code Blocks in Lists</h2>
<p>Indentation matters. Be sure the indent of the code block aligns with the first non-space character after the list item marker (e.g., <code class="language-plaintext highlighter-rouge">1.</code>). Usually this will mean indenting 3 spaces instead of 4.</p>
<ol>
<li>Do step 1.</li>
<li>
<p>Now do this:</p>
<div class="language-ruby highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="k">def</span> <span class="nf">print_hi</span><span class="p">(</span><span class="nb">name</span><span class="p">)</span>
<span class="nb">puts</span> <span class="s2">"Hi, </span><span class="si">#{</span><span class="nb">name</span><span class="si">}</span><span class="s2">"</span>
<span class="k">end</span>
<span class="n">print_hi</span><span class="p">(</span><span class="s1">'Tom'</span><span class="p">)</span>
<span class="c1">#=> prints 'Hi, Tom' to STDOUT.</span>
</code></pre></div> </div>
</li>
<li>Now you can do this.</li>
</ol>
<h2 id="github-gist-embed">GitHub Gist Embed</h2>
<p>GitHub Gist embeds can also be used:</p>
<div class="language-html highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt"><script </span><span class="na">src=</span><span class="s">"https://gist.github.com/mmistakes/77c68fbb07731a456805a7b473f47841.js"</span><span class="nt">></script></span>
</code></pre></div></div>
<p>Which outputs as:</p>
<script src="https://gist.github.com/mmistakes/77c68fbb07731a456805a7b473f47841.js"></script>
<div class="footnotes" role="doc-endnotes">
<ol>
<li id="fn:1" role="doc-endnote">
<p><a href="http://en.wikipedia.org/wiki/Syntax_highlighting">http://en.wikipedia.org/wiki/Syntax_highlighting</a> <a href="#fnref:1" class="reversefootnote" role="doc-backlink">↩</a></p>
</li>
</ol>
</div>Dugan NashPost displaying the various ways one can highlight code blocks with Jekyll. Some options include standard Markdown, GitHub Flavored Markdown, and Jekyll's `{% highlight %}` tag.Markup: HTML Elements and Formatting2013-01-11T00:00:00-05:002017-03-09T10:55:59-05:00https://mmistakes.github.io/jekyll-theme-basically-basic/markup/markup-html-elements-and-formatting<p>A variety of common HTML elements to demonstrate the theme’s stylesheet and verify they have been styled appropriately.</p>
<h1 id="header-one">Header one</h1>
<h2 id="header-two">Header two</h2>
<h3 id="header-three">Header three</h3>
<h4 id="header-four">Header four</h4>
<h5 id="header-five">Header five</h5>
<h6 id="header-six">Header six</h6>
<h2 id="blockquotes">Blockquotes</h2>
<p>Single line blockquote:</p>
<blockquote>
<p>Stay hungry. Stay foolish.</p>
</blockquote>
<p>Multi line blockquote with a cite reference:</p>
<blockquote>
<p>People think focus means saying yes to the thing you’ve got to focus on. But that’s not what it means at all. It means saying no to the hundred other good ideas that there are. You have to pick carefully. I’m actually as proud of the things we haven’t done as the things I have done. Innovation is saying no to 1,000 things.</p>
</blockquote>
<p class="small"><cite>Steve Jobs</cite> — Apple Worldwide Developers’ Conference, 1997</p>
<h2 id="tables">Tables</h2>
<table>
<thead>
<tr>
<th>Employee</th>
<th>Salary</th>
<th> </th>
</tr>
</thead>
<tbody>
<tr>
<td><a href="#">John Doe</a></td>
<td>$1</td>
<td>Because that’s all Steve Jobs needed for a salary.</td>
</tr>
<tr>
<td><a href="#">Jane Doe</a></td>
<td>$100K</td>
<td>For all the blogging she does.</td>
</tr>
<tr>
<td><a href="#">Fred Bloggs</a></td>
<td>$100M</td>
<td>Pictures are worth a thousand words, right? So Jane × 1,000.</td>
</tr>
<tr>
<td><a href="#">Jane Bloggs</a></td>
<td>$100B</td>
<td>With hair like that?! Enough said.</td>
</tr>
</tbody>
</table>
<table>
<thead>
<tr>
<th style="text-align: left">Header1</th>
<th style="text-align: center">Header2</th>
<th style="text-align: right">Header3</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: left">cell1</td>
<td style="text-align: center">cell2</td>
<td style="text-align: right">cell3</td>
</tr>
<tr>
<td style="text-align: left">cell4</td>
<td style="text-align: center">cell5</td>
<td style="text-align: right">cell6</td>
</tr>
</tbody>
<tbody>
<tr>
<td style="text-align: left">cell1</td>
<td style="text-align: center">cell2</td>
<td style="text-align: right">cell3</td>
</tr>
<tr>
<td style="text-align: left">cell4</td>
<td style="text-align: center">cell5</td>
<td style="text-align: right">cell6</td>
</tr>
</tbody>
<tfoot>
<tr>
<td style="text-align: left">Foot1</td>
<td style="text-align: center">Foot2</td>
<td style="text-align: right">Foot3</td>
</tr>
</tfoot>
</table>
<h2 id="definition-lists">Definition Lists</h2>
<dl>
<dt>Definition List Title</dt>
<dd>Definition list division.</dd>
<dt>Startup</dt>
<dd>A startup company or startup is a company or temporary organization designed to search for a repeatable and scalable business model.</dd>
<dt>#dowork</dt>
<dd>Coined by Rob Dyrdek and his personal body guard Christopher “Big Black” Boykins, “Do Work” works as a self motivator, to motivating your friends.</dd>
<dt>Do It Live</dt>
<dd>I’ll let Bill O’Reilly <a href="https://www.youtube.com/watch?v=O_HyZ5aW76c" title="We'll Do It Live">explain</a> this one.</dd>
</dl>
<h2 id="unordered-lists-nested">Unordered Lists (Nested)</h2>
<ul>
<li>List item one
<ul>
<li>List item one
<ul>
<li>List item one</li>
<li>List item two</li>
<li>List item three</li>
<li>List item four</li>
</ul>
</li>
<li>List item two</li>
<li>List item three</li>
<li>List item four</li>
</ul>
</li>
<li>List item two</li>
<li>List item three</li>
<li>List item four</li>
</ul>
<h2 id="ordered-list-nested">Ordered List (Nested)</h2>
<ol>
<li>List item one
<ol>
<li>List item one
<ol>
<li>List item one</li>
<li>List item two</li>
<li>List item three</li>
<li>List item four</li>
</ol>
</li>
<li>List item two</li>
<li>List item three</li>
<li>List item four</li>
</ol>
</li>
<li>List item two</li>
<li>List item three</li>
<li>List item four</li>
</ol>
<h2 id="address-element">Address element</h2>
<address>
1 Infinite Loop<br /> Cupertino, CA 95014<br /> United States
</address>
<h2 id="anchor-element-aka-link">Anchor element (aka. Link)</h2>
<p>This is an example of a <a href="http://apple.com" title="Apple">link</a>.</p>
<h2 id="abbreviation-element">Abbreviation element</h2>
<p>The abbreviation <abbr title="Cascading Style Sheets">CSS</abbr> stands for “Cascading Style Sheets”.</p>
<h2 id="cite-element">Cite element</h2>
<p>“Code is poetry.” —<cite>Automattic</cite></p>
<h2 id="code-element">Code element</h2>
<p>You will learn later on in these tests that <code class="language-plaintext highlighter-rouge">word-wrap: break-word;</code> will be your best friend.</p>
<h2 id="strike-element">Strike element</h2>
<p>This element will let you <strike>strikeout text</strike>.</p>
<h2 id="emphasize-element">Emphasize element</h2>
<p>The emphasize element should <em>italicize</em> text.</p>
<h2 id="insert-element">Insert element</h2>
<p>This element should denote <ins>inserted</ins> text.</p>
<h2 id="keyboard-element">Keyboard element</h2>
<p>This scarcely known element emulates <kbd>keyboard text</kbd>, which is usually styled like the <code class="language-plaintext highlighter-rouge"><code></code> element.</p>
<h2 id="preformatted-element">Preformatted element</h2>
<p>This element styles large blocks of code.</p>
<pre>
.post-title {
margin: 0 0 5px;
font-weight: bold;
font-size: 38px;
line-height: 1.2;
and here's a line of some really, really, really, really long text, just to see how the PRE element handles it and to find out how it overflows;
}
</pre>
<h2 id="quote-element">Quote element</h2>
<p><q>Developers, developers, developers…</q> –Steve Ballmer</p>
<h2 id="strong-element">Strong element</h2>
<p>This element shows <strong>bold text</strong>.</p>
<h2 id="subscript-element">Subscript element</h2>
<p>Getting our science styling on with H<sub>2</sub>O, which should push the “2” down.</p>
<h2 id="superscript-element">Superscript element</h2>
<p>Still sticking with science and Isaac Newton’s E = MC<sup>2</sup>, which should lift the 2 up.</p>
<h2 id="variable-element">Variable element</h2>
<p>This allows you to denote <var>variables</var>.</p>Dugan NashA variety of common HTML elements to demonstrate the theme’s stylesheet and verify they have been styled appropriately.Markup: Image Alignment2013-01-10T00:00:00-05:002017-03-09T11:15:57-05:00https://mmistakes.github.io/jekyll-theme-basically-basic/markup/markup-image-alignment<p>The best way to demonstrate the ebb and flow of the various image positioning options is to nestle them snuggly among an ocean of words. Grab a paddle and let’s get started.</p>
<p>Assign classes with HTML:</p>
<div class="language-html highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt"><img</span> <span class="na">src=</span><span class="s">"image.jpg"</span> <span class="na">class=</span><span class="s">"align-left"</span> <span class="na">alt=</span><span class="s">""</span><span class="nt">></span>
<span class="nt"><img</span> <span class="na">src=</span><span class="s">"image.jpg"</span> <span class="na">class=</span><span class="s">"align-center"</span> <span class="na">alt=</span><span class="s">""</span><span class="nt">></span>
<span class="nt"><img</span> <span class="na">src=</span><span class="s">"image.jpg"</span> <span class="na">class=</span><span class="s">"align-right"</span> <span class="na">alt=</span><span class="s">""</span><span class="nt">></span>
</code></pre></div></div>
<p>Or use Kramdown and <a href="https://kramdown.gettalong.org/syntax.html#inline-attribute-lists">inline attribute lists</a>:</p>
<div class="language-markdown highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="p">![</span><span class="nv">left-aligned-image</span><span class="p">](</span><span class="sx">image.jpg</span><span class="p">)</span>{: .align-left}
<span class="p">![</span><span class="nv">center-aligned-image</span><span class="p">](</span><span class="sx">image.jpg</span><span class="p">)</span>{: .align-center}
<span class="p">![</span><span class="nv">right-aligned-image</span><span class="p">](</span><span class="sx">image.jpg</span><span class="p">)</span>{: .align-right}
</code></pre></div></div>
<p><img src="https://mmistakes.github.io/jekyll-theme-basically-basic/assets/images/image-alignment-580x300.jpg" alt="image-center" class="align-center" /></p>
<p>The image should be <strong>centered</strong> with the <code class="language-plaintext highlighter-rouge">.align-center</code> class.</p>
<p><img src="https://mmistakes.github.io/jekyll-theme-basically-basic/assets/images/image-alignment-150x150.jpg" alt="image-left" class="align-left" /> The rest of this paragraph is filler for the sake of seeing the text wrap around the 150×150 image, which is <strong>left aligned</strong> with the <code class="language-plaintext highlighter-rouge">.align-left</code> class.</p>
<p>As you can see the should be some space above, below, and to the right of the image. The text should not be creeping on the image. Creeping is just not right. Images need breathing room too. Let them speak like you words. Let them do their jobs without any hassle from the text. In about one more sentence here, we’ll see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do it’s thing. Mission accomplished!</p>
<p>And now for a <strong>massively large image</strong> — it has <strong>no alignment</strong>.</p>
<p><img src="https://mmistakes.github.io/jekyll-theme-basically-basic/assets/images/image-alignment-1200x4002.jpg" alt="no-alignment" /></p>
<p>The image above, though <code class="language-plaintext highlighter-rouge">1200px</code> wide, should not overflow the content area. It should remain contained with no visible disruption to the flow of content.</p>
<p><img src="https://mmistakes.github.io/jekyll-theme-basically-basic/assets/images/image-alignment-300x200.jpg" alt="image-right" class="align-right" /></p>
<p>And now we’re going to shift things to the <strong>right</strong> with the <code class="language-plaintext highlighter-rouge">.align-right</code> class. Again, there should be plenty of room above, below, and to the left of the image. Just look at him there — Hey guy! Way to rock that right side. I don’t care what the left aligned image says, you look great. Don’t let anyone else tell you differently.</p>
<p>In just a bit here, you should see the text start to wrap below the right aligned image and settle in nicely. There should still be plenty of room and everything should be sitting pretty. Yeah — Just like that. It never felt so good to be right.</p>
<p>And just when you thought we were done, we’re going to do them all over again with captions!</p>
<figure class="align-center">
<a href="#"><img src="https://mmistakes.github.io/jekyll-theme-basically-basic/assets/images/image-alignment-580x300.jpg" alt="" /></a>
<figcaption>Look at 580 x 300 <a href="#">getting some</a> love.</figcaption>
</figure>
<p>The figure above happens to be <strong>centered</strong>. The caption also has a link in it, just to see if it does anything funky.</p>
<figure style="width: 150px" class="align-left">
<img src="https://mmistakes.github.io/jekyll-theme-basically-basic/assets/images/image-alignment-150x150.jpg" alt="" />
<figcaption>Itty-bitty caption.</figcaption>
</figure>
<p>The rest of this paragraph is filler for the sake of seeing the text wrap around the 150×150 image, which is <strong>left aligned</strong> with the <code class="language-plaintext highlighter-rouge">.align-left</code> class.</p>
<p>As you can see the should be some space above, below, and to the right of the image. The text should not be creeping on the image. Creeping is just not right. Images need breathing room too. Let them speak like you words. Let them do their jobs without any hassle from the text. In about one more sentence here, we’ll see that the text moves from the right of the image down below the image in seamless transition. Again, letting the do it’s thing. Mission accomplished!</p>
<p>And now for a massively large image with <strong>no alignment</strong>.</p>
<figure style="width: 1200px">
<img src="https://mmistakes.github.io/jekyll-theme-basically-basic/assets/images/image-alignment-1200x4002.jpg" alt="" />
<figcaption>Massive image comment for your eyeballs.</figcaption>
</figure>
<p>The figure element above has an inline style of <code class="language-plaintext highlighter-rouge">width: 1200px</code> set which should case it to break outside of the normal content flow.</p>
<figure style="width: 300px" class="align-right">
<img src="https://mmistakes.github.io/jekyll-theme-basically-basic/assets/images/image-alignment-300x200.jpg" alt="" />
<figcaption>Feels good to be on the right.</figcaption>
</figure>
<p>And now we’re going to shift things to the <strong>right</strong> with the <code class="language-plaintext highlighter-rouge">.align-right</code> class. Again, there should be plenty of room above, below, and to the left of the image. Just look at him there — Hey guy! Way to rock that right side. I don’t care what the left aligned image says, you look great. Don’t let anyone else tell you differently.</p>
<p>In just a bit here, you should see the text start to wrap below the right aligned image and settle in nicely. There should still be plenty of room and everything should be sitting pretty. Yeah — Just like that. It never felt so good to be right.</p>
<p>And that’s a wrap, yo! You survived the tumultuous waters of alignment. Image alignment achievement unlocked!</p>Dugan NashThe best way to demonstrate the ebb and flow of the various image positioning options is to nestle them snuggly among an ocean of words. Grab a paddle and let’s get started.Markup: Text Alignment and Transformations2013-01-09T00:00:00-05:002017-03-09T12:17:03-05:00https://mmistakes.github.io/jekyll-theme-basically-basic/markup/markup-text-alignment<p>Sample text to demonstrate alignment and transformation classes.</p>
<p>Easily realign text with alignment classes via HTML:</p>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code><p class="text-left">Left aligned text.</p>
<p class="text-center">Center aligned text.</p>
<p class="text-right">Right aligned text.</p>
<p class="text-justify">Justified text.</p>
<p class="text-nowrap">No wrap text.</p>
</code></pre></div></div>
<p>Or with Kramdown and <a href="https://kramdown.gettalong.org/syntax.html#inline-attribute-lists">inline attribute lists</a>:</p>
<div class="language-markdown highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Left aligned text.
{: .text-left}
Center aligned text.
{: .text-center}
Right aligned text.
{: .text-right}
Justified text.
{: .text-justify}
No wrap text.
{: .text-nowrap}
</code></pre></div></div>
<h2 id="default">Default</h2>
<p>This is a paragraph. It should not have any alignment of any kind. It should just flow like you would normally expect. Nothing fancy. Just straight up text, free flowing, with love. Completely neutral and not picking a side or sitting on the fence. It just is. It just freaking is. It likes where it is. It does not feel compelled to pick a side. Leave him be. It will just be better that way. Trust me.</p>
<h2 id="left-aligned">Left Aligned</h2>
<p class="text-left">This is a paragraph. It is left aligned. Because of this, it is a bit more liberal in it’s views. It’s favorite color is green. Left align tends to be more eco-friendly, but it provides no concrete evidence that it really is. Even though it likes share the wealth evenly, it leaves the equal distribution up to justified alignment.</p>
<h2 id="center-aligned">Center Aligned</h2>
<p class="text-center">This is a paragraph. It is center aligned. Center is, but nature, a fence sitter. A flip flopper. It has a difficult time making up its mind. It wants to pick a side. Really, it does. It has the best intentions, but it tends to complicate matters more than help. The best you can do is try to win it over and hope for the best. I hear center align does take bribes.</p>
<h2 id="right-aligned">Right Aligned</h2>
<p class="text-right">This is a paragraph. It is right aligned. It is a bit more conservative in it’s views. It’s prefers to not be told what to do or how to do it. Right align totally owns a slew of guns and loves to head to the range for some practice. Which is cool and all. I mean, it’s a pretty good shot from at least four or five football fields away. Dead on. So boss.</p>
<h2 id="justify-aligned">Justify Aligned</h2>
<p class="text-justify">This is a paragraph. It is justify aligned. It gets really mad when people associate it with Justin Timberlake. Typically, justified is pretty straight laced. It likes everything to be in it’s place and not all cattywampus like the rest of the aligns. I am not saying that makes it better than the rest of the aligns, but it does tend to put off more of an elitist attitude.</p>
<h2 id="no-wrap">No Wrap</h2>
<p class="text-nowrap">This is a paragraph. It has a no wrap. Beef ribs pig tenderloin filet mignon. Spare ribs leberkas ribeye, burgdoggen fatback tenderloin biltong jowl flank sirloin hamburger bacon brisket. Shoulder bresaola drumstick capicola. Beef ribs prosciutto porchetta beef.</p>
<hr />
<p>Transform text with capitalization classes via HTML:</p>
<div class="language-html highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt"><p</span> <span class="na">class=</span><span class="s">"text-lowercase"</span><span class="nt">></span>Lowercased text.<span class="nt"></p></span>
<span class="nt"><p</span> <span class="na">class=</span><span class="s">"text-uppercase"</span><span class="nt">></span>Uppercased text.<span class="nt"></p></span>
<span class="nt"><p</span> <span class="na">class=</span><span class="s">"text-capitalize"</span><span class="nt">></span>Capitalized text.<span class="nt"></p></span>
<span class="nt"><p</span> <span class="na">class=</span><span class="s">"text-truncate"</span><span class="nt">></span>Truncated text.<span class="nt"></p></span>
<span class="nt"><p</span> <span class="na">class=</span><span class="s">"small"</span><span class="nt">></span>Small text.<span class="nt"></p></span>
</code></pre></div></div>
<p>Or with Kramdown:</p>
<div class="language-markdown highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Lowercased text
{: .text-lowercase}
Uppercased text
{: .text-uppercase}
Capitalized text
{: .text-capitalize}
</code></pre></div></div>
<p class="text-lowercase">Lowercased text</p>
<p class="text-uppercase">Uppercased text</p>
<p class="text-capitalize">Capitalized text</p>
<p class="text-truncate">This is a truncated paragraph of text. Bacon ipsum dolor amet shoulder jowl tail andouille fatback tongue. Ham porchetta kielbasa pork pork chop, tenderloin hamburger meatball. Picanha porchetta swine, brisket salami pork belly burgdoggen. Cupim swine pastrami, chuck tri-tip pork belly jowl shankle alcatra brisket capicola ball tip prosciutto beef ribs doner. Tri-tip bacon ground round pork chop burgdoggen leberkas pork strip steak beef corned beef salami.</p>
<p class="small">Small text</p>Dugan NashSample text to demonstrate alignment and transformation classes.Markup: Title *with* **Markdown**2013-01-05T00:00:00-05:002017-03-09T12:25:10-05:00https://mmistakes.github.io/jekyll-theme-basically-basic/markdown/markup-title-with-markup<p>Using Markdown in the title should have no adverse effect on the layout or functionality.</p>
<p><strong><code class="language-plaintext highlighter-rouge">page.title</code> example:</strong></p>
<div class="language-yaml highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="na">title</span><span class="pi">:</span> <span class="s2">"</span><span class="s">Markup:</span><span class="nv"> </span><span class="s">Title</span><span class="nv"> </span><span class="s">*with*</span><span class="nv"> </span><span class="s">**Markdown**"</span><span class="s2">"</span>
</code></pre></div></div>Dugan NashUsing Markdown in the title should have no adverse effect on the layout or functionality.Markup: Title with Special — Characters2013-01-05T00:00:00-05:002017-03-09T12:23:27-05:00https://mmistakes.github.io/jekyll-theme-basically-basic/markup/markup-title-with-special-characters<p>Putting special characters in the title should have no adverse effect on the layout or functionality.</p>
<p>The title above has none-breaking spaces before and after the m-dash.</p>
<div class="language-markdown highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="ni">&nbsp;</span>---<span class="ni">&nbsp;</span>
</code></pre></div></div>
<h2 id="latin-character-tests">Latin Character Tests</h2>
<p>This is a test to see if the fonts used in this theme support basic Latin characters.</p>
<table>
<tr>
<td>
!
</td>
<td>
“
</td>
<td>
#
</td>
<td>
$
</td>
<td>
%
</td>
<td>
&
</td>
<td>
‘
</td>
<td>
(
</td>
<td>
)
</td>
<td>
*
</td>
</tr>
<tr>
<td>
+
</td>
<td>
,
</td>
<td>
–
</td>
<td>
.
</td>
<td>
/
</td>
<td>
</td>
<td>
1
</td>
<td>
2
</td>
<td>
3
</td>
<td>
4
</td>
</tr>
<tr>
<td>
5
</td>
<td>
6
</td>
<td>
7
</td>
<td>
8
</td>
<td>
9
</td>
<td>
:
</td>
<td>
;
</td>
<td>
>
</td>
<td>
=
</td>
<td>
<
</td>
</tr>
<tr>
<td>
?
</td>
<td>
@
</td>
<td>
A
</td>
<td>
B
</td>
<td>
C
</td>
<td>
D
</td>
<td>
E
</td>
<td>
F
</td>
<td>
G
</td>
<td>
H
</td>
</tr>
<tr>
<td>
I
</td>
<td>
J
</td>
<td>
K
</td>
<td>
L
</td>
<td>
M
</td>
<td>
N
</td>
<td>
O
</td>
<td>
P
</td>
<td>
Q
</td>
<td>
R
</td>
</tr>
<tr>
<td>
S
</td>
<td>
T
</td>
<td>
U
</td>
<td>
V
</td>
<td>
W
</td>
<td>
X
</td>
<td>
Y
</td>
<td>
Z
</td>
<td>
[
</td>
<td>
</td>
</tr>
<tr>
<td>
]
</td>
<td>
^
</td>
<td>
_
</td>
<td>
`
</td>
<td>
a
</td>
<td>
b
</td>
<td>
c
</td>
<td>
d
</td>
<td>
e
</td>
<td>
f
</td>
</tr>
<tr>
<td>
g
</td>
<td>
h
</td>
<td>
i
</td>
<td>
j
</td>
<td>
k
</td>
<td>
l
</td>
<td>
m
</td>
<td>
n
</td>
<td>
o
</td>
<td>
p
</td>
</tr>
<tr>
<td>
q
</td>
<td>
r
</td>
<td>
s
</td>
<td>
t
</td>
<td>
u
</td>
<td>
v
</td>
<td>
w
</td>
<td>
x
</td>
<td>
y
</td>
<td>
z
</td>
</tr>
<tr>
<td>
{
</td>
<td>
|
</td>
<td>
}
</td>
<td>
~
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
</table>Dugan NashPutting special characters in the title should have no adverse effect on the layout or functionality.Markup: Text Readability Test2012-05-22T00:00:00-04:002017-03-09T12:26:59-05:00https://mmistakes.github.io/jekyll-theme-basically-basic/markup-text-readability<p>Portland in shoreditch Vice, labore typewriter pariatur hoodie fap sartorial Austin. Pinterest literally occupy Schlitz forage. Odio ad blue bottle vinyl, 90’s narwhal commodo bitters pour-over nostrud. Ugh est hashtag in, fingerstache adipisicing laboris esse Pinterest shabby chic Portland. Shoreditch bicycle rights anim, flexitarian laboris put a bird on it vinyl cupidatat narwhal. Hashtag artisan skateboard, flannel Bushwick nesciunt salvia aute fixie do plaid post-ironic dolor McSweeney’s. Cliche pour-over chambray nulla four loko skateboard sapiente hashtag.</p>
<p>Vero laborum commodo occupy. Semiotics voluptate mumblecore pug. Cosby sweater ullamco quinoa ennui assumenda, sapiente occupy delectus lo-fi. Ea fashion axe Marfa cillum aliquip. Retro Bushwick keytar cliche. Before they sold out sustainable gastropub Marfa readymade, ethical Williamsburg skateboard brunch qui consectetur gentrify semiotics. Mustache cillum irony, fingerstache magna pour-over keffiyeh tousled selfies.</p>
<h2 id="cupidatat-90s-lo-fi-authentic-try-hard">Cupidatat 90’s lo-fi authentic try-hard</h2>
<p>In pug Portland incididunt mlkshk put a bird on it vinyl quinoa. Terry Richardson shabby chic +1, scenester Tonx excepteur tempor fugiat voluptate fingerstache aliquip nisi next level. Farm-to-table hashtag Truffaut, Odd Future ex meggings gentrify single-origin coffee try-hard 90’s.</p>
<ul>
<li>Sartorial hoodie</li>
<li>Labore viral forage</li>
<li>Tote bag selvage</li>
<li>DIY exercitation et id ugh tumblr church-key</li>
</ul>
<p>Incididunt umami sriracha, ethical fugiat VHS ex assumenda yr irure direct trade. Marfa Truffaut bicycle rights, kitsch placeat Etsy kogi asymmetrical. Beard locavore flexitarian, kitsch photo booth hoodie plaid ethical readymade leggings yr.</p>
<p>Aesthetic odio dolore, meggings disrupt qui readymade stumptown brunch Terry Richardson pour-over gluten-free. Banksy american apparel in selfies, biodiesel flexitarian organic meh wolf quinoa gentrify banjo kogi. Readymade tofu ex, scenester dolor umami fingerstache occaecat fashion axe Carles jean shorts minim. Keffiyeh fashion axe nisi Godard mlkshk dolore. Lomo you probably haven’t heard of them eu non, Odd Future Truffaut pug keytar meggings McSweeney’s Pinterest cred. Etsy literally aute esse, eu bicycle rights qui meggings fanny pack. Gentrify leggings pug flannel duis.</p>
<h2 id="forage-occaecat-cardigan-qui">Forage occaecat cardigan qui</h2>
<p>Fashion axe hella gastropub lo-fi kogi 90’s aliquip +1 veniam delectus tousled. Cred sriracha locavore gastropub kale chips, iPhone mollit sartorial. Anim dolore 8-bit, pork belly dolor photo booth aute flannel small batch. Dolor disrupt ennui, tattooed whatever salvia Banksy sartorial roof party selfies raw denim sint meh pour-over. Ennui eu cardigan sint, gentrify iPhone cornhole.</p>
<blockquote>
<p>Whatever velit occaecat quis deserunt gastropub, leggings elit tousled roof party 3 wolf moon kogi pug blue bottle ea. Fashion axe shabby chic Austin quinoa pickled laborum bitters next level, disrupt deep v accusamus non fingerstache.</p>
</blockquote>
<p>Tote bag asymmetrical elit sunt. Occaecat authentic Marfa, hella McSweeney’s next level irure veniam master cleanse. Sed hoodie letterpress artisan wolf leggings, 3 wolf moon commodo ullamco. Anim occupy ea labore Terry Richardson. Tofu ex master cleanse in whatever pitchfork banh mi, occupy fugiat fanny pack Austin authentic. Magna fugiat 3 wolf moon, labore McSweeney’s sustainable vero consectetur. Gluten-free disrupt enim, aesthetic fugiat jean shorts trust fund keffiyeh magna try-hard.</p>
<h2 id="hoodie-duis">Hoodie Duis</h2>
<p>Actually salvia consectetur, hoodie duis lomo YOLO sunt sriracha. Aute pop-up brunch farm-to-table odio, salvia irure occaecat. Sriracha small batch literally skateboard. Echo Park nihil hoodie, aliquip forage artisan laboris. Trust fund reprehenderit nulla locavore. Stumptown raw denim kitsch, keffiyeh nulla twee dreamcatcher fanny pack ullamco 90’s pop-up est culpa farm-to-table. Selfies 8-bit do pug odio.</p>
<h3 id="thundercats-ho">Thundercats Ho!</h3>
<p>Fingerstache thundercats Williamsburg, deep v scenester Banksy ennui vinyl selfies mollit biodiesel duis odio pop-up. Banksy 3 wolf moon try-hard, sapiente enim stumptown deep v ad letterpress. Squid beard brunch, exercitation raw denim yr sint direct trade. Raw denim narwhal id, flannel DIY McSweeney’s seitan. Letterpress artisan bespoke accusamus, meggings laboris consequat Truffaut qui in seitan. Sustainable cornhole Schlitz, twee Cosby sweater banh mi deep v forage letterpress flannel whatever keffiyeh. Sartorial cred irure, semiotics ethical sed blue bottle nihil letterpress.</p>
<p>Occupy et selvage squid, pug brunch blog nesciunt hashtag mumblecore skateboard yr kogi. Ugh small batch swag four loko. Fap post-ironic qui tote bag farm-to-table american apparel scenester keffiyeh vero, swag non pour-over gentrify authentic pitchfork. Schlitz scenester lo-fi voluptate, tote bag irony bicycle rights pariatur vero Vice freegan wayfarers exercitation nisi shoreditch. Chambray tofu vero sed. Street art swag literally leggings, Cosby sweater mixtape PBR lomo Banksy non in pitchfork ennui McSweeney’s selfies. Odd Future Banksy non authentic.</p>
<p>Aliquip enim artisan dolor post-ironic. Pug tote bag Marfa, deserunt pour-over Portland wolf eu odio intelligentsia american apparel ugh ea. Sunt viral et, 3 wolf moon gastropub pug id. Id fashion axe est typewriter, mlkshk Portland art party aute brunch. Sint pork belly Cosby sweater, deep v mumblecore kitsch american apparel. Try-hard direct trade tumblr sint skateboard. Adipisicing bitters excepteur biodiesel, pickled gastropub aute veniam.</p>Dugan NashA large amount of sample text to test readability of a text heavy page.Layout: Excerpt (Defined)2012-03-14T00:00:00-04:002017-03-09T12:43:31-05:00https://mmistakes.github.io/jekyll-theme-basically-basic/layout/uncategorized/layout-excerpt-defined<p>This is the start of the post content.</p>
<p>This paragraph should be absent from an index page where <code class="language-plaintext highlighter-rouge">post.excerpt</code> is shown.</p>Dugan NashThis is a user-defined post excerpt. It should be displayed in place of the auto-generated excerpt or post content on index pages.