a39d3eabf8
v3.4.0 2016/12/26 Redcarpet v3.4.0 This new release ships with a bunch of bug fixes especially regarding anchor generation. Improvements to anchor generation The anchor generation now relies on a djb2 hashing algorithm whenever the generated anchor is empty as non alpha-numeric chars. This is specifically interesting for CJK contents as Redcarpet used to generate empty anchors dealing with titles in these locales. Special thanks to Alexey Kopytko and namusyaka for their work on that ! Also now, the html-escaped entities are removed from anchors generated with the HTML render in order to be consistent with the HTML_TOC render and as it is more expected. Other improvements * Table headers don't require a minimum of three dashes anymore; a single one can be used for each row. * The Markdown and rendering options are now exposed through a Hash inside the @options instance variable inside your custom render objects. Bug fixes * Multiple single quote pairs are parsed correctly with SmartyPants. * Remove periods at the end of URLs when autolinking to make sure that links at the end of a sentence get properly generated. * Avoid escaping ampersands in href links. Checkout the CHANGELOG for further information and changes.
14 lines
340 B
Makefile
14 lines
340 B
Makefile
# $NetBSD: Makefile,v 1.10 2017/03/20 15:40:02 taca Exp $
|
|
|
|
DISTNAME= redcarpet-3.4.0
|
|
CATEGORIES= textproc
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://github.com/vmg/redcarpet/
|
|
COMMENT= Markdown that smells nice
|
|
LICENSE= mit
|
|
|
|
RUBYGEM_OPTIONS+= --format-executable
|
|
|
|
.include "../../lang/ruby/gem.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|