Tips On Using Minimal Mistakes

1 minute read

Some useful tips here, courtesy of Jack Dougherty

Copyright (c) 2019 Jack Dougherty, used under MIT License

Formatting Guide

Footnote

Write the main text and insert a bracketed footnote symbol with a unique number or keyword.1 Then somewhere else in the main text, write the same bracketed footnote symbol and number/keyword, followed by a colon, and the footnote text.

Markdown image with pre-slash pathname (no baseurl because custom domain), actual size, but no caption

root image caption

Liquid templating image in root no-slash images

sample image
here’s the sample image

Liquid image in root no-slash aligned with caption

sample image
sample caption

This sample text demonstrates the wrap-around feature with aligned images. This sample text demonstrates the wrap-around feature with aligned images. This sample text demonstrates the wrap-around feature with aligned images. This sample text demonstrates the wrap-around feature with aligned images. This sample text demonstrates the wrap-around feature with aligned images.

HTML iframe, with quote marks around with and height, whether percentages or pixels

Code:

<iframe src="https://jackdougherty.youcanbook.me/" width="100%" height="600px"></iframe>

Demo:

YouTube embed

Code:

{% include video id="3sK7-g0otGM" provider="youtube" %}

Demo:

Redirect

I modified config.yml to accept jekyll-redirect-from plugin for GitHub Pages, but have only succeeded with the redirect_to option. See https://github.com/jekyll/jekyll-redirect-from#redirect-to

  1. Here’s the footnote text. 

Comments