Create Lesson Content
Edit the lesson Markdown files to create content pages.
Markdown is a standard to simplify writing content for the web. GitHub markdown flavor can be used any where on GitHub and in Jekyll. The basics are intuitive, you can learn in about a minute! See Markdown in a Minute to get started.
When creating content pages:
- to include a page in the nav, add
nav: true
to the file’s yml front matter. - the
title:
value will appear in the nav, sorted in the order of filenames. For simplicity use leading numbers in the lesson page filenames to create correct order. - the default layout does not add
title
to the page, so it can be a short for the nav. So add a title in the Markdown content.
Add Figures
Using figure include:
- put all images in the
images
directory. - figures will be centered, and can optionally be given a caption and percentage width.
- in a markdown file where you want the image to appear, use the
figure.html
include on its own line. - pattern:
{% include figure.html img="my-cat.jpg" alt="cat" caption="My cat" width="50%" %}
Additionally
Lorem ipsum dolor sit amet
, consectetur adipiscing elit. Pellentesque eu velit felis.
Duis fermentum est nec mollis scelerisque.
Vivamus interdum efficitur mauris, et dignissim velit egestas vitae. Cras dignissim sagittis varius.
Pellentesque eu laoreet dui.
Praesent congue, eros eget accumsan euismod, lorem dui vulputate leo, tincidunt efficitur risus metus ut risus.
Sed pharetra ipsum orci, eu cursus turpis semper egestas. Pellentesque sodales, felis auctor auctor rutrum, velit quam interdum erat, sit amet placerat urna nisl at justo.
Furthermore…
Nam maximus eget orci id pretium. Pellentesque feugiat mauris eu nulla viverra consectetur. Nullam rutrum augue eget mauris accumsan, ac elementum tellus lacinia. Sed pretium aliquet tortor in ornare. Sed eget aliquet metus. Integer sed arcu turpis. Duis auctor sollicitudin semper. Cras posuere, neque nec varius cursus, massa libero sodales elit, sed tempor nibh ex sit amet nisi. Quisque consequat ante quis diam malesuada, in imperdiet tortor mattis. Aliquam erat volutpat. Morbi tortor elit, sagittis quis nibh ut, gravida cursus arcu.
Ut dapibus lectus tristique efficitur dictum. Quisque efficitur ornare sagittis. Donec ex sem, volutpat quis scelerisque quis, scelerisque non neque. Vivamus convallis felis vel eros pulvinar faucibus. Aliquam finibus pretium odio a pharetra. Nullam ac commodo magna. Fusce et feugiat sem. Nunc vitae scelerisque metus. Aenean sodales placerat mi in aliquet. Curabitur pulvinar auctor mauris quis faucibus. Ut commodo imperdiet ante, at dignissim tellus ultricies ut. Donec at lacus ultrices sem vulputate semper. Donec commodo porta nunc, non tristique mi interdum quis. Phasellus rhoncus bibendum ipsum, ac malesuada augue pulvinar et. Etiam finibus lacus massa, sit amet faucibus lorem consequat sit amet.