update from sparkleup

This commit is contained in:
Madison Scott-Clary 2020-04-22 17:50:06 -07:00
parent 4ae3482f00
commit 277f0ed406
1 changed files with 8 additions and 9 deletions

View File

@ -33,10 +33,11 @@
<p>Instead, I'd like to post about some recent writing tech projects in the form of three Markdown extensions.</p>
<h1 id="verse-extension">Verse extension</h1>
<p>First, we have the Verse extension. It's dead simple: it looks for a block of text fenced in with triple single-quotes and wraps it in a <code>&lt;div class="verse"&gt;</code>. For example,</p>
<div class="codehilite"><pre><span></span><code><span class="o">&lt;</span><span class="n">div</span> <span class="k">class</span><span class="o">=</span><span class="ss">&quot;verse&quot;</span><span class="o">&gt;</span> <span class="n">Arctic</span> <span class="n">fox</span><span class="s1">&#39;s den</span>
<span class="s1">adorned with flowers and snow</span>
<span class="s1">garden in winter</span>
<span class="s1">&#39;&#39;&#39;</span>
<div class="codehilite"><pre><span></span><code><span class="s1">&#39;&#39;&#39;</span>
<span class="s1">Arctic fox&#39;</span><span class="n">s</span> <span class="n">den</span>
<span class="n">adorned</span> <span class="k">with</span> <span class="n">flowers</span> <span class="k">and</span> <span class="n">snow</span>
<span class="n">garden</span> <span class="k">in</span> <span class="n">winter</span>
<span class="s1">&#39;&#39;</span><span class="err">&#39;</span>
</code></pre></div>
@ -54,12 +55,10 @@ garden in winter<span class="p">&lt;/</span><span class="nt">div</span><span cla
</code></pre></div>
<p>looks like:
</div>
Arctic fox's den
<p>looks like:</p>
<div class="verse">Arctic fox's den
adorned with flowers and snow
garden in winter
'''</p>
garden in winter</div>
<p>I can write verse in an editor with newlines and indentation however I please, and it shows up just like that within the browser without using a <code>&lt;pre&gt;</code> tag, which defaults to monospace font. I can also overload what tag it uses, so I can even use my own <code>&lt;verse&gt;&lt;/verse&gt;</code> tag for something more semantically acurate.</p>
<h1 id="vimwiki-extensions">Vimwiki extensions</h1>
<p>Vimwiki, the personal wiki I use, has its own markup format which...is fine? Like, it's okay. the problem is that it's just dissimilar enough from Markdown that I have a hard time remembering the differences. Even if I were to remember them, when I transfer my files to hosting on a static site, they'd be in the wrong format.</p>