# Release 5.39.0

**URL:** <https://discuss.codemirror.net/t/release-5-39-0/1759>\
**Category:** Announce\
**Created:** [June 20, 2018, 6:35am UTC](https://discuss.codemirror.net/t/release-5-39-0/1759 "2018-06-20T06:35:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![marijn](https://discuss.codemirror.net/user_avatar/discuss.codemirror.net/marijn/32/136_2.png) [@marijn](https://discuss.codemirror.net/u/marijn)\
**Post date:** [June 20, 2018, 6:35am UTC](https://discuss.codemirror.net/t/release-5-39-0/1759/1 "2018-06-20T06:35:34Z")

</div>

Get it from npm or as a [zip file](http://codemirror.net/codemirror-5.39.0.zip). See the new patches [on github](https://github.com/codemirror/codemirror/compare/5.38.0...5.39.0).

## Release notes

### Bug fixes

Fix issue that in some circumstances caused content to be clipped off at the bottom after a resize.

[markdown mode](http://codemirror.net/mode/markdown/): Improve handling of blank lines in HTML tags.

### New features

[stex mode](http://codemirror.net/mode/stex/): Add an `inMathMode` option to start the mode in math mode.
