From aa3c1df2efb09d40e7e574d32bde01759d9b63dc Mon Sep 17 00:00:00 2001 From: Alex Kocharin Date: Wed, 30 Sep 2015 18:14:59 +0300 Subject: [PATCH] Update changelog and migration guide --- CHANGELOG.md | 5 +++-- docs/5.0_migration.md | 4 +++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 74bc185..343bd23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,8 +1,9 @@ -4.5.0 / WIP +5.0.0 / 2015-09-30 ------------------ -- Keep tabs (don't replace with spaces) +- Keep tabs (don't replace with spaces). - Don't wrap iframes with paragraphs (according to spec update). +- Changed emphasis algorithm to match one described in CM spec. 4.4.0 / 2015-07-18 diff --git a/docs/5.0_migration.md b/docs/5.0_migration.md index 3346210..912462c 100644 --- a/docs/5.0_migration.md +++ b/docs/5.0_migration.md @@ -15,4 +15,6 @@ External API did not change. - added `stateBlock.sCount` to calculate indents instead of `stateBlock.tShift`, it only differs if tabs are present: - `stateBlock.tShift` is used to calculate a number of *characters* (tab is 1 character) - `stateBlock.sCount` is used to calculate the block *offset* (tab is 1-4 characters depending on position) - +- added `stateInline.ruler2` and `stateInline.delimiters` needed to parse emphasis-like markup better + - emphasis-like tags now can't be skipped with `stateInline.skipToken`, they treat a sequence of markers (e.g. `***`) as a token instead + - `stateInline.delimiters` is linked with `stateInline.tokens`, so truncating/splicing `stateInline.tokens` may break things