From 5cf39944c597767301e69cd80b7e7c79f48d876c Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Sun, 14 Apr 2019 00:30:55 +0200 Subject: Update formatter and styling to match blog generator --- source/99_result/main.css | 1 + utility/formatter.xsl | 67 ++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 67 insertions(+), 1 deletion(-) diff --git a/source/99_result/main.css b/source/99_result/main.css index 5b907a4..9b140fe 100644 --- a/source/99_result/main.css +++ b/source/99_result/main.css @@ -28,6 +28,7 @@ sub{vertical-align:baseline;position:relative;top:0.4em} #introduction img{border-radius:0.5em;margin-right:1.5em;float:left;width:12em;height:12em} #introduction p{width:31.5em;float:right} #introduction .greeting{font:bold 1.1em 'Oswald',sans-serif;display:inline-block} +#content img{padding:.2em;border:.1em solid #e3e8e8;display:block;margin-left:auto;margin-right:auto;max-width:95%} .info{font:normal .8em 'Oswald',sans-serif;margin-bottom:.5em;display:block} .info a{margin:0 .1em 0 .1em} diff --git a/utility/formatter.xsl b/utility/formatter.xsl index 57edf2d..606a764 100644 --- a/utility/formatter.xsl +++ b/utility/formatter.xsl @@ -18,6 +18,23 @@ )/self::command/node()"/> + + + + + + + + katex + + + + + + + + + @@ -43,6 +60,18 @@ + +

+ +

+
+ + +

+ +

+
+ @@ -59,12 +88,48 @@ + +

+ +

+
+ + + + + + + + + + + + +

+ + + + --display-mode + + +

+
+ + + + + + + +
+
+ - pandoc -f markdown -t html --no-highlight + pandoc -f markdown -t html4 --katex --no-highlight -fmarkdown-implicit_figures -- cgit v1.2.3