summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2016-11-22 23:56:14 -0700
committerGitHub <noreply@github.com>2016-11-22 23:56:14 -0700
commit65e5e0136f44a320d22379266397b4c9abfab6db (patch)
tree9c50317da047f89c1f356cfec2e73055d1c3eac0 /data
parent31f8588a080a69b801bf39b445ff02c6f4baf4d8 (diff)
add support for background colors when highlighting code with rouge (PR #663)
- add support for background color on fragment - set background color of source block to background color from rouge theme, if specified - add support for inline_block style in theme (use background color to fill full line height) - add line_gap property to code category of PDF theme to control how full line height is filled - add support for extend style in theme to extend background color length of the line - detect and mark fragments which are line-oriented (required to activate the extend feature) - activate inline_block and extend feature for insertion/deletion token in pastie theme
Diffstat (limited to 'data')
-rw-r--r--data/themes/default-theme.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/data/themes/default-theme.yml b/data/themes/default-theme.yml
index 0f64a128..35c34391 100644
--- a/data/themes/default-theme.yml
+++ b/data/themes/default-theme.yml
@@ -166,6 +166,8 @@ code:
font_size: ceil($base_font_size)
padding: $code_font_size
line_height: 1.25
+ # line_gap is an experimental property to control how a background color is applied to an inline block element
+ line_gap: 3.8
background_color: f5f5f5
border_color: cccccc
border_radius: $base_border_radius