Skip to content

Commit e76e7ef

Browse files
committed
Unbreak headers / highlights
1 parent 78286c6 commit e76e7ef

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

Rules

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ compile '/feed/' do
2222
end
2323

2424
compile '/v3/*' do
25-
filter :kramdown, :toc_levels => [2]
2625
filter :erb
26+
filter :kramdown, :toc_levels => [2]
27+
filter :colorize_syntax,
28+
:colorizers => {:javascript => :pygmentsrb}
2729
layout item[:layout] || 'api'
2830
end
2931

static/shared/css/documentation.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -867,6 +867,7 @@ pre.headers + pre.highlight {
867867
-webkit-border-radius: 0 0 3px 3px;
868868
-moz-border-radius: 0 0 3px 3px;
869869
border-radius: 0 0 3px 3px;
870+
margin-top: 0;
870871
}
871872

872873
pre.highlight {

0 commit comments

Comments
 (0)