Gitlab is now running v13.9.0 - More info -> here <-

Commit c5816ae1 authored by Philippe Veber's avatar Philippe Veber

tk/Note: use marx for css

parent 89a58f33
......@@ -89,7 +89,7 @@ let html_template = {|<!DOCTYPE html>
$if(template_css)$
<link rel="stylesheet" href="$template_css$">
$else$
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/uikit/2.26.4/css/uikit.gradient.css">
<link rel="stylesheet" href="https://unpkg.com/marx-css/css/marx.min.css">
$endif$
<!-- <link rel="stylesheet" href="style.css"> -->
......@@ -132,10 +132,7 @@ $endif$
</head>
<body>
<div class="uk-container uk-container-center uk-margin-top uk-margin-large-bottom">
<main>
$if(title)$
<div class="uk-grid" data-uk-grid-margin>
<div class="uk-width-1-1">
......@@ -150,18 +147,11 @@ $endif$
</div>
$endif$
<div class="uk-grid" data-uk-grid-margin >
<div class="uk-width-medium-1-4">
<div class="uk-overflow-container" data-uk-sticky="{top:25,media: 768}">
<div class="uk-panel uk-panel-box menu-begin" >
$if(toc)$
$toc$
$endif$
</div>
</div>
</div>
<nav>
$if(toc)$
$toc$
$endif$
</nav>
<div class="uk-width-medium-3-4">
$body$
......@@ -178,10 +168,9 @@ $if(analytics)$
ga('send', 'pageview');
$endif$
<script src="https://vjs.zencdn.net/5.4.4/video.js"></script>
</div>
</main>
</body>
</html>
|}
</html>|}
let pandoc ?(toc = false) ~md ~template ~html =
Bos.Cmd.(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment