Update code syntax highlighting styles
This commit is contained in:
parent
fdd5b3138f
commit
a5bee4685a
6 changed files with 39 additions and 13 deletions
building-presenting-slide-decks-rst2pdf
taking-flight-with-tailwind-css
test-driven-drupal
upgrading-to-drupal-9
working-with-workspace
workspace.yml
|
@ -47,6 +47,11 @@ pageTemplates:
|
||||||
|
|
||||||
linkColor: #24608a
|
linkColor: #24608a
|
||||||
|
|
||||||
|
fontsAlias:
|
||||||
|
stdMono: Inconsolata-Regular
|
||||||
|
stdMonoBold: Inconsolata-Regular
|
||||||
|
stdMonoItalic: Inconsolata-Regular
|
||||||
|
|
||||||
styles:
|
styles:
|
||||||
normal:
|
normal:
|
||||||
fontSize: 24
|
fontSize: 24
|
||||||
|
@ -91,11 +96,11 @@ styles:
|
||||||
spaceBefore: 0
|
spaceBefore: 0
|
||||||
|
|
||||||
literal:
|
literal:
|
||||||
backColor: #eeeeee
|
backColor: white
|
||||||
fontName: stdMono
|
fontName: stdMono
|
||||||
|
|
||||||
code:
|
code:
|
||||||
backColor: #eeeeee
|
backColor: white
|
||||||
borderWidth: 0
|
borderWidth: 0
|
||||||
fontSize: 20
|
fontSize: 20
|
||||||
leading: 24
|
leading: 24
|
||||||
|
|
|
@ -47,6 +47,11 @@ pageTemplates:
|
||||||
|
|
||||||
linkColor: #24608a
|
linkColor: #24608a
|
||||||
|
|
||||||
|
fontsAlias:
|
||||||
|
stdMono: Inconsolata-Regular
|
||||||
|
stdMonoBold: Inconsolata-Regular
|
||||||
|
stdMonoItalic: Inconsolata-Regular
|
||||||
|
|
||||||
styles:
|
styles:
|
||||||
normal:
|
normal:
|
||||||
fontSize: 24
|
fontSize: 24
|
||||||
|
@ -91,11 +96,11 @@ styles:
|
||||||
spaceBefore: 0
|
spaceBefore: 0
|
||||||
|
|
||||||
literal:
|
literal:
|
||||||
backColor: #eeeeee
|
backColor: white
|
||||||
fontName: stdMono
|
fontName: stdMono
|
||||||
|
|
||||||
code:
|
code:
|
||||||
backColor: #eeeeee
|
backColor: white
|
||||||
borderWidth: 0
|
borderWidth: 0
|
||||||
fontSize: 20
|
fontSize: 20
|
||||||
leading: 24
|
leading: 24
|
||||||
|
|
|
@ -47,6 +47,11 @@ pageTemplates:
|
||||||
|
|
||||||
linkColor: #24608a
|
linkColor: #24608a
|
||||||
|
|
||||||
|
fontsAlias:
|
||||||
|
stdMono: Inconsolata-Regular
|
||||||
|
stdMonoBold: Inconsolata-Regular
|
||||||
|
stdMonoItalic: Inconsolata-Regular
|
||||||
|
|
||||||
styles:
|
styles:
|
||||||
normal:
|
normal:
|
||||||
fontSize: 24
|
fontSize: 24
|
||||||
|
@ -93,11 +98,11 @@ styles:
|
||||||
spaceBefore: 0
|
spaceBefore: 0
|
||||||
|
|
||||||
literal:
|
literal:
|
||||||
backColor: #eeeeee
|
backColor: white
|
||||||
fontName: stdMono
|
fontName: stdMono
|
||||||
|
|
||||||
code:
|
code:
|
||||||
backColor: #eeeeee
|
backColor: white
|
||||||
borderWidth: 0
|
borderWidth: 0
|
||||||
fontSize: 20
|
fontSize: 20
|
||||||
leading: 24
|
leading: 24
|
||||||
|
|
|
@ -40,6 +40,11 @@ pageTemplates:
|
||||||
|
|
||||||
linkColor: #24608a
|
linkColor: #24608a
|
||||||
|
|
||||||
|
fontsAlias:
|
||||||
|
stdMono: Inconsolata-Regular
|
||||||
|
stdMonoBold: Inconsolata-Regular
|
||||||
|
stdMonoItalic: Inconsolata-Regular
|
||||||
|
|
||||||
styles:
|
styles:
|
||||||
normal:
|
normal:
|
||||||
fontSize: 28
|
fontSize: 28
|
||||||
|
@ -88,11 +93,11 @@ styles:
|
||||||
spaceBefore: 0
|
spaceBefore: 0
|
||||||
|
|
||||||
literal:
|
literal:
|
||||||
backColor: #eeeeee
|
backColor: white
|
||||||
fontName: stdMono
|
fontName: stdMono
|
||||||
|
|
||||||
code:
|
code:
|
||||||
backColor: #eeeeee
|
backColor: white
|
||||||
borderWidth: 0
|
borderWidth: 0
|
||||||
fontSize: 24
|
fontSize: 24
|
||||||
parent: literal
|
parent: literal
|
||||||
|
|
|
@ -47,6 +47,11 @@ pageTemplates:
|
||||||
|
|
||||||
linkColor: #24608a
|
linkColor: #24608a
|
||||||
|
|
||||||
|
fontsAlias:
|
||||||
|
stdMono: Inconsolata-Regular
|
||||||
|
stdMonoBold: Inconsolata-Regular
|
||||||
|
stdMonoItalic: Inconsolata-Regular
|
||||||
|
|
||||||
styles:
|
styles:
|
||||||
normal:
|
normal:
|
||||||
fontSize: 24
|
fontSize: 24
|
||||||
|
@ -91,11 +96,11 @@ styles:
|
||||||
spaceBefore: 0
|
spaceBefore: 0
|
||||||
|
|
||||||
literal:
|
literal:
|
||||||
backColor: #eeeeee
|
backColor: white
|
||||||
fontName: stdMono
|
fontName: stdMono
|
||||||
|
|
||||||
code:
|
code:
|
||||||
backColor: #eeeeee
|
backColor: white
|
||||||
borderWidth: 0
|
borderWidth: 0
|
||||||
fontSize: 20
|
fontSize: 20
|
||||||
leading: 24
|
leading: 24
|
||||||
|
@ -124,4 +129,4 @@ styles:
|
||||||
|
|
||||||
text-lg:
|
text-lg:
|
||||||
parent: bodytext
|
parent: bodytext
|
||||||
fontSize: 150%
|
fontSize: 150%
|
||||||
|
|
|
@ -6,10 +6,11 @@ attributes:
|
||||||
command: |
|
command: |
|
||||||
= 'rst2pdf ' ~ @('rst2pdf.filename.rst') ~ '
|
= 'rst2pdf ' ~ @('rst2pdf.filename.rst') ~ '
|
||||||
--break-level 1
|
--break-level 1
|
||||||
--stylesheets main
|
--stylesheets main,tango
|
||||||
--fit-background-mode scale
|
--fit-background-mode scale
|
||||||
--extension-module preprocess
|
--extension-module preprocess
|
||||||
--output ' ~ @('rst2pdf.filename.pdf')
|
--output ' ~ @('rst2pdf.filename.pdf') ~ '
|
||||||
|
--font-path ~/.local/share/fonts'
|
||||||
filename:
|
filename:
|
||||||
pdf: slides.pdf
|
pdf: slides.pdf
|
||||||
rst: slides.rst
|
rst: slides.rst
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue