pan-am/test_md/code.md
Benjamin Woodruff 22be1e85fa Use unitless line-height; fix footnotes (v0.1.3)
Specifying `line-height: 1.3em` instead of simply `line-height: 1.3`
causes odd inheritance properties. In the case of the former, the
`line-height` is calculated from the `font-size` of the parent only. In
the case of the later, the `line-height` is calculated from the
`font-size` of the current child element.

This was causing odd spacing issues with footnotes, as the computed
`line-height` was far too large, since footnotes use a really small
`font-size`.

A new test is included for footnotes and additional tests are included
in the inline code-block test in order to test multiple font sizes.
2013-10-30 20:43:37 -04:00

807 B

% Inline Code Blocks

If the line-height isn't high enough, inline code boxes may intersect.

This would be a rather unfortunate event, and we'd like to keep it from happening, so this is just some writing with a bunch of <code> tags mixed in to make it likely that such an issue would become apparent.

This would be a rather unfortunate event, and we'd like to keep it from happening, so this is just some writing with a bunch of <code> tags mixed in to make it likely that such an issue would become apparent.

Footnote1


  1. This would be a rather unfortunate event, and we'd like to keep it from happening, so this is just some writing with a bunch of <code> tags mixed in to make it likely that such an issue would become apparent. ↩︎