Changelog History
Page 2
-
v3.2.1 Changes
November 25, 2014π This release of Redcarpet is meant to address a backward incompatibility between version 3.1 and 3.2. Since the RedCloth API layer has been deprecated, the
RedcarpetCompat
class has been wrongly moved to theredcarpet/compat
file but the class wasn't available when the file wasn't explicitly required.0οΈβ£ This version fixes this requiring that file by default when Redcarpet gets loaded.
-
v3.2.0 Changes
- β Add a
Safe
renderer to deal with users' input. Theescape_html
andsafe_links_only
options are turned on by default.
Moreover, the
block_code
callback removes the tag's class since the user can basically set anything with the vanilla one.Robin Dupret
- HTML5 block-level tags are now recognized
silverhammermba
- The
StripDown
render object now displays the URL of links along with the text.
Robin Dupret
- π The RedCloth API compatibility layer is now deprecated.
Robin Dupret
- A hyphen and an equal should not be converted to heading.
namusyaka
- π Fix emphasis character escape sequence detection while mid-emphasis.
jcheatham
- β Add
=
to the whitelist of escaped chars so it can be used inside highlighted snippets.
jcheatham
- Convert trailing single quotes to curly quotes. For example,
Road Trippin'
now converts toRoad Trippinβ
.
Kevin Chen
- π Allow in-page links (e.g.
[headline](#headline)
) when:safe_links_only
is set.
jomo
- Enable emphasis inside of sentences in multi-byte languages when
:no_intra_emphasis
is set.
Chun-wei Kuo
- Avoid making
:no_intra_emphasis
only match spaces. This allows using emphasizes inside quotes when the option is enabled for instance.
Jason Webb and BJ Homer
- The StripDown renderer handles image tags now.
- β Add a
-
v3.1.2 Changes
- β Remove the yielding of anchors in the
header
callback. This was a breaking change between 3.0 and 3.1 as the method's arity changed.
- β Remove the yielding of anchors in the
-
v3.1.1 Changes
- π Fix a segfault when parsing text with headers.
-
v3.1.0 Changes
- Yield the anchor of the headers
Using the
header
callback, it's now possible to get access to the humanized generated id to easily keep tracking of the tree of headers or simply handle the duplicate values easily.Since the
HTML_TOC
andHTML
objects both have this callback, it's advisable to define a module and mix it in these objects to avoid code duplication.Robin Dupret
- π Allow using tabs between a reference's colon and its link
Fix issue #337
Juan Guerrero
- π Make ordered lists preceded by paragraph parsed with
:lax_spacing
Previously, enabling the
:lax_spacing
option, if a paragraph was followed by an ordered list it was unparsed and was part of the paragraph but this is no more the case.Robin Dupret
- Feed the gemspec into ExtensionTask so that we can pre-compile.
ie.
rake native gem
Todd Edwards
- βͺ Revert lax indent of less than 4 characters after list items
Follow the standard to detect when new paragraph is outside last item. Fixes issue #111.
Eric BrΓ©chemier
- π Fix code blocks' classes when using Google code prettify
When using the the
:prettify
option and specifying the language name, the generated code block's class had a missing space.Simonini
- β Add
-v
/--version
and-h
flags to commandline redcarpet
Lukas Stabe
- β Add optional quote support through the
:quote
option. Render quotations marks toq
HTML tag.
This is a
"quote"
.Anatol Broder
- Ensure inline markup in titles is correctly stripped when generating headers' anchor.
Robin Dupret
- βͺ Revert the unescaping behavior on comments
This behavior doesn't follow the conformance suite.
Robin Dupret
- β Add optional footnotes support
Add PHP-Markdown style footnotes through the
:footnotes
option.Ben Dolman, Adam Florin, microjo, brief
- π Enable GitHub style anchors for headers
Passing the
with_toc_data
option to aHTML
render object now generates GitHub style anchors.Matt Rogers
- π Allow to set a maximum rendering level for HTML_TOC
Allow the user to pass a
nesting_level
option when instantiating a new HTML_TOC render object in order to limit the nesting level in the generated table of content. For example:Redcarpet::Markdown.new(Redcarpet::Render::HTML_TOC.new(nesting_level: 2))
Robin Dupret
-
v3.0.0 Changes
Remove support for Ruby 1.8.x Matt Rogers & Robin Dupret
Avoid escaping for HTML comments Robin Dupret
Make emphasis wrapped inside parenthesis parsed Robin Dupret
Remove the Sundown submodule Robin Dupret
Fix FTP uris identified as emails Robin Dupret
Add optional highlight support Sam Soffes
This is
==highlighted==
.Ensure nested parenthesis are handled into links Robin Dupret
Ensure nested code spans put in emphasis work correctly Robin Dupret
-
v2.3.0 Changes
Add a
:disable_indented_code_blocks
option Dmitriy KiriyenkoFix issue #57 Mike Morearty
Ensure new lines characters are inserted when using the StripDown render. Robin Dupret
Mark all symbols as hidden except the main entry point Tom Hughes
This avoids conflicts with other gems that may have some of the same symbols, such as escape_utils which also uses houdini.
Remove unnecessary function pointer Sam Soffes
Add optional underline support Sam Soffes
This is
*italic*
and this is_underline_
when enabled.Test that links with quotes work Michael Grosser
Adding a prettyprint class for google-code-prettify Joel Rosenberg
Remove unused C macros Matt Rogers
Remove 'extern' definition for Init_redcarpet_rndr() Matt Rogers
Remove Gemfile.lock from the gemspec Matt Rogers
Removed extra unused test statement. Slipp D. Thompson
β Use test-unit gem to get some red/green output when running tests Michael Grosser
Remove a deprecation warning and update Gemfile.lock Robin Dupret
Added contributing file Brent Beer
For tests for libxml2 > 2.8 strzibny
SmartyPants: Preserve single
backticks
in HTML Mike Morearty
When SmartyPants is processing HTML, single
backticks
should be left intact. Previously they were being deleted.Removed and ignored Gemfile.lock Ryan McGeary
Added support for org-table syntax Ryan McGeary
Adds support for using a plus (+) as an intersection character instead of requiring pipes (|). The emacs org-mode table syntax automatically manages ascii tables, but uses pluses for line intersections.
Ignore /tmp directory Ryan McGeary
Add redcarpet_ prefix for
stack_*
functions Kenta MurataMark any html_attributes has held by a renderer as used Tom Hughes
Add Rubinius to the list of tested implementations Gibheer
β Add a changelog file