Fixed GH#30: Specifying empty definitions for a definition list now works
Better fix for the output of closed/open elements
Using the already defined tags for HTML elements without a body
and better output for unknown elements.
Fixed: Using a block IAL before a definition list now works
Fixed problem with the output of empty i/b HTML tags
Document fix of doc/quickref.page
kramdown 0.14.0 released
Published on Sunday, 16 September 2012
First of all please note that this release contains a backwards-incompatible
change: The syntax for specifying a code language for a code block or code
span has changed. Instead of using lang='CODELANG' one has to use
.language-CODELANG now.
This change has been introduced to avoid problems because the lang="..."
attribute is used by HTML for other purposes than setting the code
language. Furthermore using .language-CODELANG is also proposed by HTML5 and
it seems to be a good way to achieve the needed functionality.
Other changes in this release include the possibility of setting the code
language on the starting line of a fenced code block and a way of excluding
certain headers from the table of contents by assigning the .no_toc class to
them. Changes
* 2 major changes
o Code language is now specified via .language-CODELANG instead of
lang='CODELANG'
o Implemented support for setting language on fenced code block starting
line (initial patch by Bran)
* 1 minor change
o Headers with an ID can be prevented from showing in the TOC by assigning
the .no_toc class to them (patch by Tim Bates)
* 1 bug fix
o Numeric instead of symbolic HTML entities are now the default fallback
(patch by Gioele Barabucci)
kramdown 0.13.8 released
Published on Friday, 31 August 2012
This release brings two new options (one for adjusting header levels and the
other for enabling/disabling coderay). And the usual bug fixes. Changes
* 2 minor changes
o New option header_offset for offsetting all header levels (initial patch
by Michal Till)
o New option enable_coderay for enabling/disabling coderay (initial patch by
Bran)
* 5 bug fixes
o Reserved HTML characters in abbreviation titles are now correctly output
(patch by Alex Tomlins)
o Similar abbreviations (like CSS and CSS3) are now correctly parsed
o Fixed bug RF#29626: Text of mailto-link was sometimes wrongly obfuscated
(reported by B Wright)
o Fixed known Ruby 1.9.3 problem with RakeTest task (patch by Gioele
Barabucci)
o Fixed double output of ¡Æmarkdown¡Ç attribute on HTML elements in kramdown
converter
* 1 documentation change
o README file is now called README.md and uses kramdown syntax (patch by
Bran)
commit 40e6cde2d3e1a4f9f6bc14a243b22b4ae3311ca2
Author: Thomas Leitner <t_leitner@gmx.at>
Date: Wed May 9 19:53:47 2012 +0200
Updated release notes and version number
doc/news/release_0_13_6.page
doc/sidebar.template
lib/kramdown/version.rb
man/man1/kramdown.1.erb
commit 7f66dca331f78d84ef22c489c755360b304cb41f
Author: Thomas Leitner <t_leitner@gmx.at>
Date: Tue May 8 21:20:46 2012 +0200
Fixed bug RF#29557: Parsing fails with lists with empty list item
If a list item is completely empty, it needs to be handled specially,
which is done now.
lib/kramdown/converter/kramdown.rb
lib/kramdown/parser/kramdown/list.rb
test/testcases/block/08_list/special_cases.html
test/testcases/block/08_list/special_cases.text
commit ac00ea8ea590ece6c7a6c53b30920114f349b79b
Author: Thomas Leitner <t_leitner@gmx.at>
Date: Tue May 8 20:02:43 2012 +0200
Fixed problem with CDATA section in non-XHTML pages
The HTML parser does not parse CDATA in script tags and
therefore the CDATA tags were displayed in MathJax output.
By commenting out the CDATA tags (with LaTeX comment syntax)
we avoid this problem.
lib/kramdown/converter/html.rb
lib/kramdown/parser/html.rb
test/testcases/block/15_math/normal.html
Changes
* 1 minor change:
- Added a converter that extracts the TOC of a document (requested by
Brendan Hay). Note that this is only useful if you use kramdown as a
library!
* 7 bug fixes
- Fixed a typo: It should be --output and not --ouput (patch by
postmodern)
- Fixed HTML converter to correctly output empty span tags (patch by
John Croisant)
- Fixed bug RF#29350: Parsing of HTML tags with mismatched case now
works
- Fixed bug RF#29426: Content of style tags is treated as raw text now
- HTML converter now uses rel instead of rev to be HTML5 compatible
(patch by Joe Fiorini)
- Fixed Ruby 1.9.3 related warnings
- Fixed HTML parser to work around an implementation change of
Array#delete_if in Ruby 1.9.3
kramdown is a free GPL-licensed Ruby library for parsing and
converting a superset of Markdown. It is completely written in Ruby,
supports standard Markdown (with some minor modifications) and various
extensions that have been made popular by the PHP Markdown Extra
package and Maruku.