Skip to content

Commit

Permalink
Updated version, release notes and homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
gettalong committed Oct 25, 2014
1 parent d656641 commit b90cf4c
Show file tree
Hide file tree
Showing 3 changed files with 61 additions and 3 deletions.
58 changes: 58 additions & 0 deletions doc/news/release_1_5_0.page
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
title: kramdown 1.5.0 released
no_output: true
sort_info: r0150
created_at: 2014-10-25 22:30:00 +02:00
modified_at: 2014-10-25 22:30:00 +02:00
---
## kramdown 1.5.0 released

This release brings the addition of [Rouge] as supported syntax highlighting engine besides Coderay
as well as support for MathML output in the HTML converter through the libraries [Ritex] or
[itex2MML] as alternatives to MathJax.

By restructuring the code it will now be very easy to add other syntax highlighters or math engines
in the future.

Please also note that the old 'coderay\_\*' options are still supported but they are *deprecated* as
of now. It is recommended to use the new ['syntax_highlighter'] and ['syntax_highlighter_opts']
options instead. The latter also take precedence over the former 'coderay_\*' options.


## Changes

* 6 minor changes:

- Syntax highlighters are now configurable via the new ['syntax_highlighter'] option.
- [Rouge] has been added as alternative to Coderay for syntax highlighting (requested originally
as Pgyments support in [#24] by Jonathan Martin and then [#68] by Eric Mill and [#141] by
Jeanine Adkisson).
- The `<div>` tag surrounding syntax highlighted code now gets a class `highlighter-NAME`
attached where NAME is the syntax highlighter used (requested in [#76] by Marvin Gülker)
- Math engines are now configurable via the new ['math_engine'] option.
- A math engine based on [Ritex] for MathML output has been added (requested by Tom Thorogood who
provided the initial pull request [#169]).
- A math engine based on [itex2MML] for MathML output has been added (requested by Tom Thorogood)

* 2 bug fixes:

- Fixed [#171]: Hard line wrapping in the GFM parser didn't work correctly when an inline element
started a new line (reported by Zach Ahn)
- Fixed [#173]: The HTML `<button>` element is now recognized as span-level element (pull request
by Morandat)

[rouge]: ../syntax_highlighter/rouge.html
[ritex]: ../math_engine/ritex.html
[itex2mml]: ../math_engine/itex2mml.html

['syntax_highlighter']: ../options.html#option-syntax-highlighter
['syntax_highlighter_opts']: ../options.html#option-syntax-highlighter-opts
['math_engine']: ../options.html#option-math-engine

[#171]: https://github.com/gettalong/kramdown/issues/171
[#76]: https://github.com/gettalong/kramdown/issues/76
[#24]: https://github.com/gettalong/kramdown/issues/24
[#68]: https://github.com/gettalong/kramdown/pull/68#issuecomment-30100236
[#141]: https://github.com/gettalong/kramdown/issues/141
[#169]: https://github.com/gettalong/kramdown/pull/169
[#173]: https://github.com/gettalong/kramdown/issues/173
4 changes: 2 additions & 2 deletions doc/sidebar.template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<h2>News</h2>

<p>The latest version of kramdown is <span class="inline-important">1.4.2</span> and it was released
on <span class="inline-important">2014-09-16</span></p>
<p>The latest version of kramdown is <span class="inline-important">1.5.0</span> and it was released
on <span class="inline-important">2014-10-25</span></p>

<p>More <a href="{relocatable: news.html}">news</a>…</p>

Expand Down
2 changes: 1 addition & 1 deletion lib/kramdown/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
module Kramdown

# The kramdown version.
VERSION = '1.4.2'
VERSION = '1.5.0'

end

0 comments on commit b90cf4c

Please sign in to comment.