Skip to content
This repository has been archived by the owner on Jul 1, 2023. It is now read-only.

Releases: hhvm/fbmarkdown

Support HHVM 3.29

19 Oct 16:49
Compare
Choose a tag to compare

This release supports HHVM 3.29 with optional features enabled.

Support multiple escaped pipe operators in table cells

31 Aug 20:08
Compare
Choose a tag to compare

e.g.

foo bar
|| The logical-or operator

Support HHVM 3.28

27 Aug 20:07
Compare
Choose a tag to compare
v1.3

Update dependencies, fix lint warnings

Support disabling specific extensions, and support CR and CRLF line ending

12 Jun 22:13
Compare
Choose a tag to compare

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

06 Jun 22:59
Compare
Choose a tag to compare

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

29 Mar 20:30
Compare
Choose a tag to compare
  • 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

09 Feb 21:07
Compare
Choose a tag to compare

This release:

  • fixes an incorrect parameter for json_decode()
  • adds support for the safe_array=true, safe_vector_array=true and enable_experimental_tc_features=no_fallback_in_namespaces (nightlies, expected in 3.25) hhconfig options

Initial public release

17 Jan 17:37
Compare
Choose a tag to compare
Pre-release

This matches the code currently used by docs.hhvm.com.