We use Markdown files to manage content in the ELIXIR Toolkit Theme in a structured way that is easy to edit. For more information about Markdown, see the GitHub Markdown documentation. For more information about the Markdown flavour used by the theme, Kramdown, see the Kramdown documentation.
Besides the syntax used for main content, the theme also uses metadata fields in Markdown files. To learn how metadata unlocks page features, see Page mechanics.
Titles
Using:
## Title
Subtitles
Using:
### Subtitles
Sub-subtitles
Using:
#### Sub-subtitles
Bold text
Bold text
Using:
**Bold** text
Make sure there are no spaces between the asterisks and the text you want to put in bold.
Italic text
Italic text
Using:
*Italic* text
Make sure there are no spaces between the asterisks and the text you want to put in italic.
File names, files and software names
Text can be highlighted using:
`Text`
Tables
You can use Multimarkdown syntax for tables. The following shows a sample:
| Priority apples | Second priority | Third priority |
|-------|--------|---------|
| ambrosia | gala | red delicious |
| pink lady | jazz | macintosh |
| honeycrisp | granny smith | fuji |
Result:
| Priority apples | Second priority | Third priority |
|---|---|---|
| ambrosia | gala | red delicious |
| pink lady | jazz | macintosh |
| honeycrisp | granny smith | fuji |
Callouts
Callouts in this theme are styled blockquotes with a title and icon. Put a supported callout class on the line immediately before the blockquote, and use > for each line of callout content. Regular blockquotes render as neutral message boxes without a title or icon.
The built-in callout types are note, tip, warning, and important.
Basic callouts
{: .note }
> This is a note.
{: .tip }
> This is a tip.
{: .warning }
> This is a warning.
{: .important }
> This is important information.
This renders as:
This is a note.
This is a tip.
This is a warning.
This is important information.
Custom title and longer content
Add -title to provide your own heading. Use a blockquote when the callout needs more than one paragraph, a list, or another block element.
{: .note-title }
> Before you publish
>
> Check the [Getting started](getting_started) page, review `inline code`, and confirm **bold text** renders correctly.
>
> - Confirm the page title.
> - Preview the page on a narrow screen.
This renders as:
Before you publish
Check the Getting started page, review
inline code, and confirm bold text renders correctly.
- Confirm the page title.
- Preview the page on a narrow screen.
Nested callouts
To place a callout inside another callout, add another blockquote level for the nested callout.
{: .note-title }
> Release checklist
>
> Review the page before opening the pull request:
>
> - Confirm metadata and navigation.
> - Preview desktop and mobile layout.
>
> {: .warning-title }
> > Do not merge yet
> >
> > Hold the release if generated tables or search data are stale.
This renders as:
Release checklist
Review the page before opening the pull request:
- Confirm metadata and navigation.
- Preview desktop and mobile layout.
Do not merge yet
Hold the release if generated tables or search data are stale.
Legacy include
The previous include remains supported, so existing pages do not need to change. New content should use the Markdown syntax above. Pass title to replace the standard callout heading.
{% include callout.html type="note" title="Legacy callout" content="This note uses the legacy include." %}
This renders as:
This note uses the legacy include.
Images
Figure 1. ELIXIR logo rendered through the image include.
This image is inserted in Markdown using the following snippet:
{% include image.html file="/infrastructures/ELIXIR-logo.svg" caption="Figure 1. ELIXIR logo rendered through the image include." alt="ELIXIR logo" max-width="10" %}
Or a smaller image:
This image is inserted in Markdown using the following snippet:
{% include image.html file="infrastructures/ELIXIR-logo.svg" alt="ELIXIR logo" max-width="3em" %}
Add images to the images directory and give them descriptive filenames. Adapt the snippet so it points to your image. Only the filename is needed when the image is stored in the expected directory. Supported attributes are:
-
click: When set totrue, the image opens in another tab. -
url: Link the image to another page. -
alt: Describe the image for screen readers and other assistive technologies. -
caption: Text that appears under the image. -
inline: When set totrue, the image can be used in a list. -
max-width: Maximum width inpxorem. -
class: Custom CSS class.
Or use the following Markdown syntax:

{: height="200px" width="200px"}
This renders as:
This way of including images does not work well when webpages are served from folder-style URLs, because absolute image links do not work reliably on forks.
Icons
Go to the Lucide icon library to see the available icons. The theme loads the Lucide icon font, so icons can be added with classes such as icon-camera or icon-book-open.
Lucide icons inherit the surrounding text size. Use Bootstrap font-size utility classes such as fs-5, fs-4, and fs-3 when you want to scale them.
Here is an example of how to scale up a camera icon:
<i class="icon-camera"></i> normal size
<i class="icon-camera fs-5"></i> fs-5
<i class="icon-camera fs-4"></i> fs-4
<i class="icon-camera fs-3"></i> fs-3
Here is what they render to:
normal size fs-5 fs-4 fs-3
Font Awesome remains supported for existing content and for icons Lucide does not provide, such as brand icons. Go to the Font Awesome library to see the available icons.
The Font Awesome icons allow you to adjust their size by simply adding fa-2x, fa-3x and so forth as a class to the icon to adjust their size to two times or three times the original size. As vector icons, they scale crisply at any size.
Here is an example of how to scale up a camera icon:
<i class="fa-solid fa-camera-retro"></i> normal size (1x)
<i class="fa-solid fa-camera-retro fa-lg"></i> fa-lg
<i class="fa-solid fa-camera-retro fa-2x"></i> fa-2x
<i class="fa-solid fa-camera-retro fa-3x"></i> fa-3x
<i class="fa-solid fa-camera-retro fa-4x"></i> fa-4x
<i class="fa-solid fa-camera-retro fa-5x"></i> fa-5x
Here is what they render to:
1x fa-lg fa-2x fa-3x fa-4x fa-5x
Links
Create an external link
When linking to an external site, use:
[Google](http://google.com)
Linking to internal pages
When linking to internal pages, you can manually link to the pages like this:
[Planning](planning)
Will link to the planning page.
If you change the file name, you’ll have to update all of your links.
Emojis
Use GitHub emoticons. This GitHub page about emoticons has a cheat sheet for all supported emoticons.
is made with :+1:
Code snippets
For syntax highlighting, use fenced code blocks optionally followed by the language syntax you want:
```java
import java.util.Scanner;
public class ScannerAndKeyboard
{
public static void main(String[] args)
{ Scanner s = new Scanner(System.in);
System.out.print( "Enter your name: " );
String name = s.nextLine();
System.out.println( "Hello " + name + "!" );
}
}
```
This renders as:
import java.util.Scanner;
public class ScannerAndKeyboard
{
public static void main(String[] args)
{ Scanner s = new Scanner(System.in);
System.out.print( "Enter your name: " );
String name = s.nextLine();
System.out.println( "Hello " + name + "!" );
}
}
Lists and sub-lists
- List line 1
- List line 2
- Sublist line 1
Is made with:
* List line 1
* List line 2
* Sublist line 1
* Subsublist line 1
Numbered lists look like this:
- Number one
- Number two
- Number three
- Sub number one
- Sub number two
and are made with:
1. Number one
1. Number two
1. Number three
1. Sub number one
1. Sub number two
Block quotes
You can add a blockquote using:
> Use blockquotes to highlight quoted guidance, important context or a longer note that should stand apart from the surrounding text.
>
> Keep the quoted text concise, and prefer a callout when the content needs a title or a specific visual treatment.
Giving:
Use blockquotes to highlight quoted guidance, important context or a longer note that should stand apart from the surrounding text.
Keep the quoted text concise, and prefer a callout when the content needs a title or a specific visual treatment.
A collapsible piece of text
Click to expand!
-
Text
Is made with this code snippet:
<details>
<summary>Click to expand!</summary>
<ol>
Text
</ol>
</details>
Enforce space between two lines
To have space between two lines of text, simply leave one empty line in between the line in the markdown. If more is needed, you can force this with:
<br>
Enforce line break
When you want to have a line of text.
And another line underneath it without space, use:
When you want to have a line of text.\\
And another line underneath it without space, use:
Without these backslashes
When you want to have a line of text.
And another line underneath it without space, use:
looks like this:
When you want to have a line of text. And another line underneath it without space, use: