Changes
See #309 for details.
TL;DR:
- New prop:
wrapLongLines
- New default prop value:
showInlineLineNumbers={true}
Yes that's a confusingly-named prop. We'll fix that soon
This could be a breaking change if you're using
showLineNumbers
and are expecting a separate<code>
element containing your line numbers. If you want to keep that behavior, you'll now need to explicitly passshowInlineLineNumbers={false}
- Thanks to the new
wrapLongLines
functionality, RSH applies explicit white-space styling on the<code>
tag.
This could be a breaking change if the inline style overrides a
white-space
property that you're supplying via external CSS.