Commit graph

6 commits

Author SHA1 Message Date
Peter Molnar
d3fbf2e51f Back To Pandoc
So, Python Markdown is a bottomless pit of horrors, including crippling parsing bugs,
random   out of nowhere, lack of features. It's definitely much faster, than
Pandoc, but Pandoc doesn't go full retard where there's a regex in a fenced code block,
that happens to be a regex for markdown elements.

Also added some ugly post string replacements to make Pandoc fenced code output work
with Prism:
instead of the Pandoc <pre class="codelang"><code>, Prism wants
<pre><code class="language-codelang>, so I added a regex sub, because it's 00:32.
2018-08-04 00:28:55 +01:00
Peter Molnar
96d0c238d6 Back on prismjs <https://prismjs.com/> for syntax highlighting.
While Pandoc was generating something sane, the output of CodeHilite puts silly amount of extra text and makes the HTML output completely unreadable.

In the end, it still looks like prism.js is a nice and solid solution, even if it's JS.

I'll explore other options, but so far, it's either back to Pandoc, or sticking with Prism.
2018-08-02 22:47:49 +01:00
Peter Molnar
0d1663d0da dual contrast CSS 2018-06-17 17:30:50 +00:00
Peter Molnar
b4d73208df new CSS 2018-06-16 17:00:43 +00:00
Peter Molnar
61db088790 cleanup commit before new CSS 2018-06-16 16:53:42 +00:00
Peter Molnar
c81f0860ae moved templates to subdirectory 2017-10-06 22:51:30 +02:00
Renamed from style.css (Browse further)