Cecil supports Markdown syntax in .md
files as well as front matter to define variables.
Table of content:
[toc]
Text can be bold, italic, or strikethrough.
Text can be **bold**, _italic_, or ~~strikethrough~~.
You can link to a page or to another page.
You can [link to a page](/about.md) or [to another page](page:index).
You can highlight inline code
with backticks.
You can highlight `inline code` with backticks.
Cecil automatically use the page file name as title, but you can also define title and other variables in the front matter.
You can structure content using a heading. Headings in Markdown are indicated by a number of #
at the start of the line.
---
title: Page title
description: Page short description.
---
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
## Heading
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Images use Cecil’s built-in optimized asset support.

Cecil search images in assets/
and static/
folders, but relative path is also supported:

This is a blockquote, which is commonly used when quoting another person or document.
Blockquotes are indicated by a
>
at the start of each line.
> This is a blockquote, which is commonly used when quoting another person or document.
>
> Blockquotes are indicated by a `>` at the start of each line.
A code block is indicated by a block with three backticks ```
at the start and end. You can indicate the programming language being used after the opening backticks.
// PHP code
$config = [
'title' => "My website",
'baseurl' => 'http://localhost:8000/',
];
Builder::create($config)->build();
```php // PHP code $config = [ 'title' => "My website", 'baseurl' => 'http://localhost:8000/', ]; Builder::create($config)->build(); ```
Head 1 | Head 2 | Head 3 |
---|---|---|
ok | good swedish fish | nice |
out of stock | good and plenty | nice |
ok | good oreos |
hmm |
ok | good zoute drop |
yumm |
:::info|tip|important|warning|caution
Note here.
:::