Docs
Shortcodes
Reference the shortcodes bundled with the theme.
Download link
Set downloadBase in your site parameters, then link a file:
{{< download-link file="eldan.css" download="true" >}}Download the stylesheet{{< /download-link >}}
Add version for a versioned path, or set downloadVersionFile and downloadVersioned in your site parameters.
Changelog
Add entries to data/changelog.yaml and render them:
{{< changelog >}}
Set changelogFile: CHANGELOG.md in your site parameters to render a Keep a Changelog file instead.
Config tabs
Split code blocks into tabs. Separate the sections with <!--tab:Label--> markers:
{{< tabs >}}
<!--tab:YAML-->
```yaml
theme: eldandocs
```
<!--tab:TOML-->
```toml
theme = "eldandocs"
```
{{< /tabs >}}
Raw HTML
Use rawhtml for the occasional snippet that Markdown cannot express:
{{< rawhtml >}}
<p class="example">Hello</p>
{{< /rawhtml >}}