[go: up one dir, main page]

comrak 0.8.0

A 100% CommonMark-compatible GitHub Flavored Markdown parser and formatter
Documentation
### 0.8.0

* 0.7.1 was a semver-breaking change.  This is now 0.8.0.

### 0.7.1

* Reduce list item indentation in line with spec. (#135, Casey Rodarmor)
* Split uber-struct ComrakOptions into substructures.
* Refactor HTML formatter escaping. (#140, Donough Liu)
* Don't render <p> inside <dt> tags. (#145)

### 0.7.0

* Supporting stable and newer again, since dependencies keep breaking for
  1.27.0. (#134)

### 0.6.2

* Exclude unneeded files from crate. (#120, Igor Gnatenko)
* Bump the twoway dependency. (#121, Igor Gnatenko)

### 0.6.1

* Add --gfm flag to CLI to enable all GitHub Flavored Markdown extensions and
  options. (#118, James R Miller)

### 0.6.0

* Add TaskItem variant to NodeValue. (#115, Élisabeth Henry)

### 0.5.1

* Support building on Rust versions back to 1.27.0. (#114)

### 0.5.0

* Update API so that footnote reference and definition identifiers match.
  (#110, Élisabeth Henry)
* Update to CommonMark spec 0.29. (#112)

### 0.4.4

* Add From<NodeValue> impl to AstNode. (#105, Sunjay Varma)

### 0.4.3

* Add a Default derive and Ast::new to make ASTs programmatically
  constructible. (#101, Sunjay Varma and #102)

### 0.4.2

* Add a callback to fill in broken reference links, per pulldown_cmark's
  Parser::new_with_broken_link_callback. (#100, Sunjay Varma)
* Update to latest spec.  (#99)

### 0.4.1

* Fix a bug in anchor generation; it should now be on par with GitHub's. (#97, Clifford T. Matthews)
* Expose anchor generation for use in library consumers. (#94, Clifford T. Matthews)

### 0.4.0

* Invert default-false `safe` flag to default-false `unsafe_` flag.  If you
  were not enabling safe mode before, you'll need to enable unsafe mode now.

### 0.3.1

* Keep up-to-date with the spec.

### 0.3.0

* Significant test coverage and code clean up. (#82, #83, Brian Anderson)
* Description list support. (#86, Ayose Cazorla)
* Example use of comrak to convert CommonMark documents into S-expressions. (#86, Ayose Cazorla)
* Footnotes are now enabled via an extension option, not a flag of its own. (#87)
* Extend `cmark-gfm` compatibility to include all extension and regression tests. (#87)

### 0.2.14

* Speed enhancements. (#76, Brian Anderson)
* Target latest spec; bring comrak closer into line with cmark. (#81, Brian Anderson and Ashe Connor)

### 0.2.13

* Speed enhancements. (#75, Shaquille Johnson)

### 0.2.12

* Add safety options per the reference C implementation. (#67)

### 0.2.11

* Expose Arena type so users don't need to bring it in themselves (#66, Vincent
  Prouillet).

### 0.2.10

* Bring up to date with latest spec.
* Fix parsing of tables nested in other block elements (#61, Brian Anderson).
* Protect against stack smashing in inline processors and CommonMark and HTML
  formatters (#63, Brian Anderson).

### 0.2.9

* Fix a corner case in the ATX header parser (#53, Brian Anderson).
* Fix grammar for scanning table marker rows (#55, Brian Anderson).
* Add smart punctuation (#57).

### 0.2.8

* Add `default-info-string` argument/option to specify a default language in fenced
  code blocks. (Thanks to @steveklabnik for the suggestion.)

### 0.2.7

* Use [`pest`](https://github.com/pest-parser/pest) instead of regexes for lexing.

### 0.2.6

* Fixed a bug where back-to-back emphases would not be processed correctly.
  (#45; thanks to @SSJohns for the report.)

### 0.2.5

* Fixed a bug where an exclamation mark "!" followed by a footnote would be
  eaten by the parser.

### 0.2.4

* Added footnotes support.

### 0.2.3

* Added header IDs extension.

### 0.2.2

* Fix for pathological reference link parsing.

### 0.2.1

* Speed optimisations.

### 0.2.0

* The formatters no longer produce Strings themeselves; you must specify an
  output stream.
* Speed up whitespace normalisation.

### 0.1.9

* Multibyte character fix for autolink (#35, Shaquille Johnson).
* Resolve panics with tables in awkward situations (#36).

### 0.1.8

* Fix possible DoS in link parsing (#33, Demi Obenour).