From 14375c5289e84690cacd0ec9b511cefef088f0a5 Mon Sep 17 00:00:00 2001 From: Volpeon Date: Sat, 2 Jan 2021 16:47:15 +0100 Subject: Use Pygments for syntax highlighting, design adjustments, preload fonts --- scripts/build_content.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/build_content.sh b/scripts/build_content.sh index fcabf9f..c640b12 100755 --- a/scripts/build_content.sh +++ b/scripts/build_content.sh @@ -54,13 +54,15 @@ get_metadata() { pandoc "$1" \ -f markdown \ -t plain \ + --no-highlight \ --template scripts/metadata_tpl.json } get_content() { pandoc "$1" \ -f markdown \ - -t plain + -t plain \ + --no-highlight } get_section() { @@ -251,6 +253,7 @@ handle () { pandoc "$1" \ -f markdown \ -t html5 \ + --no-highlight \ --template "${TEMPLATES_DIR}feed.xml" \ -o "${target_file%.html}.xml" \ --metadata-file metadata/metadata.yaml \ @@ -263,6 +266,7 @@ handle () { pandoc "$1" \ -f markdown \ -t html5 \ + --no-highlight \ --template "${TEMPLATES_DIR}base.html" \ -o "$target_file" \ --metadata-file metadata/metadata.yaml \ -- cgit v1.2.3-54-g00ecf