Callouts
Callouts highlight information. Use :::note, :::info, :::tip, :::warning, :::danger or :::important:
:::tip
Organize your content in nested folders to build the sidebar.
:::
Tabs
Each #### heading starts a new tab. Tabs with the same label are synchronized across the page, and the choice is remembered.
macOS
Install with Homebrew:
brew install cecil
Windows
Install with Scoop:
scoop install cecil
Linux
Download the Phar:
curl -LO https://cecil.app/cecil.phar
Code groups
A code group shows alternative code blocks in a single frame:
macOS
brew install cecil
Windows
scoop install cecil
Linux
curl -LO https://cecil.app/cecil.phar
Without headings, tabs are named after the language of each block:
YAML
theme:
- leon
JSON
{"theme": ["leon"]}
Steps
-
Write
Write your pages in Markdown.
-
Build
Run
php cecil.phar build. -
Publish
Deploy the
_sitefolder anywhere.
Accordions
What is Cecil?
A static site generator, written in PHP, that turns Markdown files into a website.
Can I use HTML?
Yes, and a native <details> element is styled as an accordion too.
Cards
- Quickstartcreate a site from scratch
- Configurationevery option of the theme
Nesting
A block can contain other blocks: its fence must then be longer than theirs (::::steps … ::::).
-
Install
Bash
brew install cecilPowerShell
scoop install cecil -
Configure
-
Build
Run
cecil build.
Composer
composer require cecil/theme-leon
Archive
::::steps
#### Configure
:::tip
Add `leon` to the `theme` list of your site.
:::
::::
Code
Inline code, keyboard keys like Ctrl + K, and blocks with syntax highlighting:
<?php
// builds the site
$builder = Cecil\Builder::create($config);
$builder->build(['drafts' => false]);
{% for page in site.pages|sort_by_date %}
<a href="{{ url(page) }}">{{ page.title }}</a>
{% endfor %}
Tables
| What I want to do | Best option |
|---|---|
| Search the documentation | Press Ctrl + K |
| Read a page as Markdown | Copy page → View as Markdown |
| Ask an AI assistant | Copy page → Open in Claude |
Diagrams
flowchart LR
A[Markdown] --> B(Cecil)
B --> C{Léon}
C --> D[HTML]
C --> E[Markdown]
C --> F[llms.txt]
Quotes and lists
Simplicity is the ultimate sophistication.
- First item
- Second item
- Nested item
- Another one
- Third item