bbatsov/ruby-style-guide — pull request #60 by tmaier (2011-10-09 10:12:37+00:00)
Title: Avoid page break in code blocks

When I create the pdf I see already on the first page a code block with a page break going through it.
This should be avoided in my opinion.

## Alternative

It could be also considered to add a new css rule like

```css
body > ul > li {
page-break-inside: avoid;
}
```

With this all list items consisting of a rule and a code example would not be split up on a page break.