2016-03-31 18:22:46 +00:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html>
|
|
|
|
|
<head>
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta name="generator" content="pandoc">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
|
|
|
|
|
<title></title>
|
|
|
|
|
<style type="text/css">code{white-space: pre;}</style>
|
2016-09-22 14:24:17 +00:00
|
|
|
|
<link rel="stylesheet" href="styling.css">
|
2016-03-31 18:22:46 +00:00
|
|
|
|
<!--[if lt IE 9]>
|
2016-09-22 14:24:17 +00:00
|
|
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv-printshiv.min.js"></script>
|
2016-03-31 18:22:46 +00:00
|
|
|
|
<![endif]-->
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<nav id="TOC">
|
|
|
|
|
<ul>
|
|
|
|
|
<li><a href="#no-brainer-markdown-to-html-pdf">No Brainer Markdown to HTML & PDF</a><ul>
|
|
|
|
|
<li><a href="#dependencies">Dependencies</a></li>
|
|
|
|
|
</ul></li>
|
|
|
|
|
</ul>
|
|
|
|
|
</nav>
|
|
|
|
|
<h1 id="no-brainer-markdown-to-html-pdf">No Brainer Markdown to HTML & PDF</h1>
|
|
|
|
|
<p>For each markdown files it will generate:</p>
|
|
|
|
|
<ul>
|
2016-07-12 19:58:41 +00:00
|
|
|
|
<li>an HTML Document: <a href="https://yogsototh.github.io/mkdocs/druid/druid.html">example</a></li>
|
|
|
|
|
<li>an HTML Presentation (using reveal.js): <a href="https://yogsototh.github.com/mkdocs/druid/druid.reveal.html">example</a></li>
|
|
|
|
|
<li>a PDF Document (using XeLaTeX): <a href="https://yogsototh.github.io/mkdocs/druid/druid.pdf">example</a></li>
|
|
|
|
|
<li>a PDF Presentation (using Beamer): <a href="https://yogsototh.github.io/mkdocs/druid/druid.beamer.pdf">example</a></li>
|
2016-03-31 18:22:46 +00:00
|
|
|
|
</ul>
|
|
|
|
|
<pre><code>./compile.sh</code></pre>
|
|
|
|
|
<p>If you want to be the 1337, install <a href="http://haskellstack.org"><code>stack</code></a> and</p>
|
|
|
|
|
<pre><code>./build.sh
|
|
|
|
|
./compile</code></pre>
|
|
|
|
|
<h2 id="dependencies">Dependencies</h2>
|
|
|
|
|
<ul>
|
2016-09-22 14:24:17 +00:00
|
|
|
|
<li><a href="http://pandoc.org">pandoc</a> – Tested with pandoc 1.15.0.6 & 1.17.2</li>
|
2016-03-31 18:22:46 +00:00
|
|
|
|
<li><a href="http://xelatex.org">XeLaTeX</a> – Tested with XeTeX 3.14159265-2.6-0.99992 (TeX Live 2015)</li>
|
|
|
|
|
<li><a href="https://github.com/matze/mtheme">metropolis</a> Beamer theme (working forked version here: <a href="https://github.com/yogsototh/mtheme"><code>https://github.com/yogsototh/mtheme</code></a>)</li>
|
|
|
|
|
</ul>
|
|
|
|
|
<div id="footer">
|
2016-07-27 00:31:17 +00:00
|
|
|
|
<a href="http://yannesposito.com">yannesposito.com</a>
|
|
|
|
|
—
|
|
|
|
|
Proudly generated by <a href="http://github.com/yogsototh/mkdocs">mkdocs</a>
|
2016-03-31 18:22:46 +00:00
|
|
|
|
</div>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|