pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/ruby-kramdown



Module Name:    pkgsrc
Committed By:   taca
Date:           Thu Jun 11 16:23:35 UTC 2015

Modified Files:
        pkgsrc/textproc/ruby-kramdown: Makefile PLIST distinfo

Log Message:
Update ruby-kramdown to 1.7.0.

kramdown 1.7.0 released                 Published on Monday, 27 April 2015

This release brings among other things support for the ‘minted’ syntax
highlighter for LaTeX and a new math engine based on MathJax-Node that outputs
to MathML.

Changes

* 4 minor changes:

  - The syntax highlighter ‘minted’ for the LaTeX converter is now available
    (fixes issue #93, initial patch #242 by l3kn)
  - A new math engine based on MathJax-Node that outputs to MathML is now
    available (patch #240 by Tom Thorogood)
  - Fixed #244, #246: Fenced code blocks now allow a dash in the code language
    name (requested and patched by Dennis Günnewig)
  - The option list in the man page as well in the output of kramdown --help
    is now sorted.

* 2 bug fixes:

  - Fixed #230: Warning message for method in
    lib/kramdown/utils/configurable.rb will not show anymore (reported by
    Robert A. Heiler)
  - Fixed #239: Handling of single/double quotes in reference style links now
    follows the same rules as with inline links (reported by Josh Davis)

kramdown 1.6.0 released                 Published on Saturday, 28 February 2015

This release contains many fixes and minor enhancements as well as one major
goodie that comes with a small caveat: block IALs can now be applied to link
and abbreviation definitions!

It may not sound like much but allowing block IALs to be applied to link
definitions alleviates the problem that additional attributes could only be
specified via span IALs. Now such attributes can be stored together with the
URL and title at the link definition, for example:

        This is a ![resized image].

        [resized image]: some_image.jpg "with a title"
        {: height="36px" width="36px" style="border: 1px solid green"}

There is one small caveat, though. Regard the following construct:

        [linkdef]: http://example.com
        {:.block-ial}
        block element, e.g. a paragraph

The block IAL would have been applied to the paragraph in previous versions
but now it is applied to the link definition. However, such a construct is not
very likely encountered in the real world.

Changes

* 7 minor changes:

  - Block IALs can now be applied to link and abbreviation definitions
    (inspired by issue #194 from cabo)
  - The syntax highlighting engine for Rouge now allows custom formatter
    classes to be used (issue #214, requested by BackOrder)
  - The MathJax math engine now allows adding previews (issue #225, requested
    by jethrogb)
  - The “toc_levels” option can now also take a Range object (pull request
    #210 by Jens Krämer)
  - The generated table of contents of the HTML converter now contains ID
    attributes on the links so that back-references can be used (issue #195,
    requested by Ciro Santilli)
  - A warning is now generated when duplicate HTML attributes are detected
    (issue #201, requested by winniehell)
  - Updated used version of prawn to 2.0.0

8 bug fixes:

  - Fixed #192: Emphasis by using underscore sometimes wrongly worked within a
    word (reported by Michael Franzl)
  - Fixed #198: Empty alt attributes on <img> tags are now correctly handled
    by the kramdown converter (reported by winniehell)
  - Fixed #200: Trailing whitespace is now really removed in paragraphs
    (reported by winniehell)
  - Fixed #220: HTML blocks with attributes weren’t correctly detected when
    directly after another block (reported by Bill Tozier)
  - Fixed #199: Empty title attributes are now ignored for images when using
    the kramdown converter (reported by and pull request #206 from winniehell)
  - Leading and trailing white space from math statements is now stripped as
    the whitespace sometimes lead to LaTeX conversion errors
  - Fixed #226: Class names may now start with a dash in IALs/ALDs (reported
    by Adam Hardwick)
  - Multiple consecutive block IALs before an element are now correctly
    processed


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 pkgsrc/textproc/ruby-kramdown/Makefile \
    pkgsrc/textproc/ruby-kramdown/distinfo
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/ruby-kramdown/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index