undefined
wiki >  design >  markdown

Designing with Markdown

Style your wiki using Markdown

Markdown

EBT website wikis are written using Github Markdown.

NOTE: The Markdown processor used by EBT websites has less features than Gihub Markdown but supports HTML5 elements.

Mardown metadata

At the top of each Markdown file is a metadata block which describes the page.

property description
title wiki page title
description short description shown under title
detail (optional, multiple) detailed description items
img file name of image
alt image accessible title
link image source and/or attribution
category category title for grouping in wiki table of contents
order order within category (alphabetical otherwise)

Images

Each wiki page has its own image. You can also add your own images. Add new images to the following folder:

To preserve disk space and network performance, keep your images small. For example, each wiki page header image should be 250wx200h pixels, preferably in PNG format.

Other images

Images can also be embedded using the <img> tag. Use the ebt-image class for screenshots to avoid confusion between pictures of user interface and the actual user interface. For example:


<img>
  src="img/jan-kopriva-7BootnN3-0I-unsplash.jpg"
  class="ebt-image"
/> 

Footnotes

Inline footnotes

Markdown footnotes are written using the following syntax for inline footnotes[1]:

...the following syntax^[footnote-text].

Normal footnotes

Alternatively, you can use a different syntax with:

For more documentation, see this link

HTML5

You can include many HTML5 elements such as <audio> on your EBT site wiki pages. For example, if you have an audio file at:

Then you can add the following HTML to any of your Markdown files:

Emojis

Copy emojis from emojipedia. For example, here is a red heart:

❤️

Footnotes
  1. this is an inline footnote

  2. this is a normal footnote