Skip to content

1.1.0

Latest
Compare
Choose a tag to compare
@curbengh curbengh released this 02 Aug 06:40
· 13 commits to master since this release
da501b9

Breaking change

  • Drop support of Node 13 due to compatibility issue; this doesn't prevent npm from installing this plugin in Node 13, it shows warning instead. [#69]
    • Nodejs has officially dropped support of Node 13 since 1 Jun 2020.
  • fix(turndown): headingStyle: 'atx' & codeBlockStyle: 'fenced' [#65]
    • More in-line with markdown style preferred by Hexo.

Feature

  • feat: import excerpt with markup [#65]
    • Retain original markup of excerpt
    title: foo bar
    date: 2020-01-01 00:00:00
    ---
    
    Lorem ipsum [dolor](http://example.com/) sit amet, **nam** ex putant _intellegat_ reprehendunt.
    
    <!-- more -->
    
    Cu nulla aeterno nec, tibique deterruisset an eam, ea pro dolorem vituperata.
    

Fix

  • fix: unescape title if escaped [#71]
    • A post could be entitled Some&quot;Title&quot;, the fix is to detect the pattern and unescape it when necessary.
  • fix: stricter excerpt regex [#70]
    • Now only the following variants of excerpt tag are valid.
    1. <!--more-->
    2. <!-- more-->
    3. <!--more -->
    4. <!-- more -->
  • fix: handle title with double quotes [#64]
    • Escape double quote before passing to yml parser