mirror of https://github.com/speeduino/wiki.js.git
Improvements to PDF generation
This commit is contained in:
parent
fad7d7f3be
commit
ef2b300ed6
|
@ -26,7 +26,7 @@ jobs:
|
|||
- name: Install Dependencies
|
||||
run: |
|
||||
sudo apt-get update -qq
|
||||
sudo apt-get install texlive-fonts-recommended lmodern texlive-xetex texlive-fonts-extra pandoc
|
||||
sudo apt-get install sed texlive-fonts-recommended lmodern texlive-xetex texlive-fonts-extra pandoc
|
||||
|
||||
- name: Installing Pandoc
|
||||
run: |
|
||||
|
|
6
home.md
6
home.md
|
@ -6,6 +6,12 @@ date: 2023-07-12T23:46:25.501Z
|
|||
tags: home
|
||||
editor: markdown
|
||||
dateCreated: 2020-01-05T22:26:30.455Z
|
||||
titlepage: true
|
||||
titlepage-rule-height: 2
|
||||
titlepage-rule-color: 360049
|
||||
titlepage-background: offline/background1.pdf
|
||||
logo: offline/logo.png
|
||||
logo-width: 350
|
||||
---
|
||||
|
||||
# Introduction
|
||||
|
|
|
@ -37,10 +37,17 @@ echo "Temp directory:" `pwd`
|
|||
git clone --depth=1 https://github.com/speeduino/wiki.js.git
|
||||
cd wiki.js
|
||||
|
||||
#Add a blank line on the top of each file to prevent issues with pandoc concatenation
|
||||
|
||||
for f in ${CHAPTERS}
|
||||
do
|
||||
#Add a blank line on the top of each file to prevent issues with pandoc concatenation
|
||||
sed -s -i '1i\\' $f
|
||||
|
||||
#Remove the css classes from highlighted notes
|
||||
sed -i 's/{.is-success}//g' $f
|
||||
sed -i 's/{.is-info}//g' $f
|
||||
sed -i 's/{.is-warning}//g' $f
|
||||
sed -i 's/{.is-danger}//g' $f
|
||||
done
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue