Releases: hhvm/fbmarkdown
Support HHVM 3.29
This release supports HHVM 3.29 with optional features enabled.
Support multiple escaped pipe operators in table cells
e.g.
foo | bar |
---|---|
|| |
The logical-or operator |
Support HHVM 3.28
v1.3 Update dependencies, fix lint warnings
Support disabling specific extensions, and support CR and CRLF line ending
Disabling named extensions
The various context objects now have disableNamedExtension($foo)
methods; for example, disableNamedExtension('TagFilter')
can be used to allow unsafe tags such as <iframe>
which are explicitly filtered in GitHub Flavored Markdown.
CR and CRLF newlines
FBMarkdown now supports files using Unix (including MacOS 10), Windows, and legacy MacOS newlines.
Thanks to @Kilenaitor for reporting both of these issues.
Relicense, allow usage with new versions of the hack standard library
This release:
- is available under the MIT license
- can be used with HSL v3.26
bugfix for emphasis handling, experimental support for rendering to markdown
- expressions such as
*foo **bar *baz bim** bam*
and*foo __bar *baz bim__ bam*
were being parsed incorrectly (an extra*
would be present outside of the tags) - added experimental support for producing markdown from markdown ASTs
The new Facebook\Markdown\MarkdownRenderer
class can be used to produce Markdown source from Markdown ASTs. This is potentially useful when using fbmarkdown as part of a pipeline - i.e. when you take markdown as input, mutate the AST, then pass markdown output on to another tool/process.
As this is experimental, there should be no expectation of of stability for the MarkdownRenderer
class - either in terms of API or output.
It is not yet used in production - however, for all the specification tests render_to_html(parse($md)) === render_to_html(parse(render_to_md(parse($md)))
, when the HTML is normalized via DOMDocument
.
Bugfix, support additional typechecker restrictions
This release:
- fixes an incorrect parameter for
json_decode()
- adds support for the
safe_array=true
,safe_vector_array=true
andenable_experimental_tc_features=no_fallback_in_namespaces
(nightlies, expected in 3.25) hhconfig options
Initial public release
This matches the code currently used by docs.hhvm.com.