Changelog History
Page 1
-
v2.1.0 Changes
November 07, 2020π A minor release, mainly aimed at resolving ambiguity about the import path for blackfriday v2 and delivering minor fixes since last release:
- Committed to
github.com/russross/blackfriday/v2
as the canonical import path for blackfriday v2. (Issue #587) - β¬οΈ Reduced the amount of dependencies. (PRs #509 and #515)
- β Added a
SanitizedAnchorName
function. (PR #509) - β Added
Node.IsContainer
andNode.IsLeaf
methods. (PR #540) - π Fixed parsing of links that end with a double backslashes. (Issue #510)
- π Fixed an issue where fence length wasn't computed. (PR #505)
- π Improved the default value for the
HTMLRendererParameters.FootnoteReturnLinkContents
field. (PR #547)
- Committed to
-
v2.1.0-pre.1
October 27, 2020 -
v2.0.1 Changes
September 23, 2018π A minor release, mainly aimed at releasing a version with go.mod.
- β Added go.mod
- β¨ Enhanced support for info strings in fenced code blocks (issue #410)
- β‘οΈ README updates
- β Added a reference to confluence wiki renderer
- π Fixed HTML entity regex
- π Fixed HTML5 by removing
rel="footnote"
which is invalid - β Added NoopenerLinks option that adds
rel="noopener"
attribute - β Added heading offset option to HTML renderer
- π Fixed consecutive lists of different kinds
- π Fixed block parsing for fenced code blocks in lists (issue #239)
Huge thanks to the contributors!
BjΓΈrn Erik Pedersen (@bep)
Cameron Moore (@moorereason)
Dmitri Shuralyov (@dmitshur)
Emil Melnikov (@emilmelnikov)
Iain Haslam (@understated)
Kentaro Matsushita (@kentaro-m)
Liming Jin (@jinliming2)
Michael (@michael-k)
Mitchell Cohen (@mitchchn)
Nathan Glenn (@garfieldnate)
Nick Galbreath (@client9)
Rebecca Turner (@9999years)
Vas Sudanagunta (@vassudanagunta) -
v2.0.0 Changes
August 11, 2017π Version 2 of Blackfriday is a major overhaul of the API. Feature-wise nothing has changed, but the entire set of types, functions and constants has changed. This was done to make the API have more idiomatic Go look-and-feel, and fix a few bugs inherent in the legacy C-like interface. As a bonus, Blackfriday has become more flexible for extension.
Highlights:
The most common entry point has been simplified. The vast majority of users can now call
Run
to get what they want:outputBytes := blackfriday.Run(inputBytes)
Writing your own renderer has become much easier.
0οΈβ£ It's become very easy to write an extension to an existing renderer, customizing one aspect or another, and leaning back to the default behavior.
π You can now parse the Markdown document and obtain the syntax tree. You can manipulate the tree before rendering, or you can use it for data extraction from the Markdown documents.
π To get all of the above working, documentation has been improved.
-
v1.6.0 Changes
November 26, 2020π A minor release, delivering minor fixes since the last release, and resolving ambiguity in the README about the import path for blackfriday v2:
- Committed to
github.com/russross/blackfriday/v2
as the canonical import path for blackfriday v2. (Issue #587) - Added
HTML_NOOPENER_LINKS
HTML renderer option. (Issue #459, PR #570) - π Fixed parsing of fenced code blocks inside lists. (Issues #495 and #485, PR #521)
- π Fixed an issue where <details> tag was wrapped in <p> tag. (Issue #525, PR #559)
- π Fixed parsing of links that end with a double backslashes. (PR #512)
- Committed to
-
v1.6.0-pre.1
October 27, 2020 -
v1.5.2 Changes
September 23, 2018π A minor release, mainly aimed at releasing a version with go.mod.
- β Added go.mod
- π Fixed block parsing for fenced code blocks in lists (issue #239)
- β Added a link to bfchroma
- β¨ Enhanced support for info strings in fenced code blocks (issue #410)
Huge thanks to the contributors!
BjΓΈrn Erik Pedersen (@bep)
Nathan Glenn (@garfieldnate)
Tim Fogarty (@tfogo)
Yoshiya Hinosawa (@kt3k) -
v1.5.1 Changes
February 25, 2018β‘οΈ Mostly updates to the README. Contains a fix to HTML5 by removing rel="footnote", which is no longer valid.
Huge thanks to the contributors!
Iain Haslam (@IainHaslam)
Vas Sudanagunta (@vassudanagunta) -
v1.5 Changes
August 26, 2017- Added
HTML_SMARTYPANTS_QUOTES_NBSP
, which allows having nonbreakable spaces
inside Β« French guillemets Β» (Issue #378) - Added
EXTENSION_JOIN_LINES
, which joins newline-separated lines into a
single paragraph. Useful for Chinese text. - π Implemented support for CDATA section (Issue #165)
- π Fixed links with parentheses (Issue #116)
- π Fixed fenced code blocks inside lists (Issue #228)
- π Fixed regression, panic in reference links (Issues #172 and #173)
- π Fixed adjacent list merging (Issue #235)
- π Fixed definition lists that contain other lists (Issue #263)
- π Fixed fenced code pre-processing (Issue #279)
- π Fixed panic with recursive footnotes (Issue #241)
π Huge thanks to everyone who contributed to this release!
Alex Yatskov (@FooSoft)
BjΓΈrn Erik Pedersen (@bep)
Cameron Moore (@moorereason)
Dmitri Shuralyov (@shurcooL)
Haishan Zhou (@choueric)
KΓ©vin Dunglas (@dunglas)
Nat Welch (@icco)
Shawn Smith (@shawnps)
Tom Kwok (@tomkwok) - Added
-
v1.4
November 11, 2015