summaryrefslogtreecommitdiff
path: root/textproc/ruby-kramdown
AgeCommit message (Collapse)AuthorFilesLines
2013-02-11Update ruby-kramdown to 0.14.2.taca3-7/+11
Changes * 1 minor change New option link_defs for pre-defining link definitions * 1 bug fix Fixed raised errors on atx headers without text
2012-12-17Update ruby-kramdown to 0.14.1.taca3-7/+9
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
2012-09-16Update ruby-kramdown to 0.14.0.taca3-10/+23
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)
2012-06-13Update ruby-kramdown to 0.13.7.taca3-8/+14
kramdown 0.13.7 released This release, aside from fixing bugs and some other minor changes, adds a new converter for removing HTML tags from an element tree. This means that one can now do kramdown -i html -o remove_html_tags,kramdown my_document.html and get a nice kramdown document from a full HTML document! Changes 1 major change * Implemented RemoveHtmlTags converter for removing HTML tags from an element tree (fixes bug RF#29282 requested by Bernard Potocki) 3 minor changes * Updated kramdown binary to support multiple, chained output formats * Added a new option for setting a default coderay highlighting language (requested by Lou Quillio) * Feature request RF#29575: Added support for ­ soft-hyphen entity (requested by Alexander Gro©Î) 5 bug fixes * Fixed bug RF#29576: Footnotes in headers resulted in duplicated id attr in TOC (reported by korthaerd) * Multi-line titles in links are now correctly parsed * DOCTYPE declaration is now correctly parsed independent of case * Setting of nil options works now by using the String ¡Ænil¡Ç * Fixed table-of-content test cases (test went green although the meaning of the test was not satisfied due to copy-paste - d¡Çoh!) 1 documentation fix * Fixed bug RF#29577: sidebar link to news page was broken for HTML pages in sub directories (reported by korthaerd)
2012-06-02Update ruby-kramdown to 0.13.6.taca2-6/+6
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
2012-03-18Update ruby-kramdown to 0.13.5.taca3-7/+12
Changes are too many to write here, please refer ChangeLog.
2011-12-17Update textproc/ruby-kramdown to 0.13.4.taca3-7/+11
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
2011-08-21Import ruby19-kramdown-0.13.3 as textproc/ruby-kramdown.minskim4-0/+433
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.