This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
import MarkdownIt from 'markdown-it' | |
import mdAttrs from 'markdown-it-attrs' | |
import mdDecorate from 'markdown-it-decorate' | |
import mdTaskLists from 'markdown-it-task-lists' | |
import mdExpandTabs from 'markdown-it-expand-tabs' | |
import mdAbbr from 'markdown-it-abbr' | |
import mdSup from 'markdown-it-sup' | |
import mdSub from 'markdown-it-sub' | |
import mdMark from 'markdown-it-mark' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Pug; // https://github.com/pug-php/pug | |
use Cockpit; | |
require_once __DIR__.'/vendor/autoload.php'; // Composer | |
require_once __DIR__.'/cockpit/bootstrap.php'; // https://github.com/COCOPi/cockpit | |
chdir(dirname(__FILE__)); // Keep this directory if called directly or from Cockpit | |
//setlocale(LC_TIME, 'et_EE', 'et', 'EE', 'ET', 'Estonia'); | |
//define('DATE_FORMAT', "%e. %B %G"); |