This template has been created to use Pandoc as a parser for Markdown files. The idea is to use it to create static HTML files from my books. This template uses Bootstrap 5 and Font Awesome.
Here few examples of how to use this template:
You [can use]{color="red"} [some colors]{color="blue"} in your text.
Here few custom boxes with code:
::: {.mycode} [Title of the custom box]{.title}
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration {
public function up(): void {
Schema::create('users', function (Blueprint $table) {
$table->id();
$table->string('name');
//...
});
}
};
:::
Another example for console:
::: {.mycode size=small} [Title 2]{.title}
root@1b29e46c10ae:/var/www/html# php artisan make:model Post -crms
:::
Sometimes we need inline console code like [ls path]{.commandbox} , other times we need to talk about some configuration file like [/etc/hosts]{.configfile} , config directory [/etc]{.configdir} inline text [help]{.inlineconsole} or a movie [The Imitation Game]{.movie}.
This is an infobox:
::: infobox This is an infobox! :::
This is an warnbox!
::: warnbox This is an warningbox! :::
This is an errorbox!
::: errorbox This is an errorbox! :::
This is an questionbox!
::: questionbox This is an questionbox! :::
This is an exercisebox
::: exercisebox This is an exercisebox :::