hexo-renderer-marked 3.0.0
Breaking change
- Remove codeblock highlight. #134
- This plugin is now neutral to the code highlight library used
 
 - Drop support of Node 8 #155
 
Feature
prependRootoption to prependroot:value to image path. #111- This is useful when you have custom 
root:value. - Example:
 
root: /blog/
marked:
prependRoot: true # disabled by default- When embedding an internal image, instead of using 
, you can save some typing by usinginstead. When this feature is enabled,/blogwill be automatically prepended to/foo/bar.jpg. 
- This is useful when you have custom 
 external_linkoption to open links in new tab. #116 #119- Usage:
 
external_link:
enable: false
exclude: []
nofollow: falseexclude: ['foo.com', 'bar.net']skips over links that start withfoo.comorbar.net, e.g.https://foo.com/post-a/&https://bar.net/post-b/. Subdomains need to be specified when applicable, including “www”; the example given here doesn’t apply tohttp://www.bar.com/post-c.nofollow: trueaddsrel="noopener external nofollow noreferrer"for SEO, otherwise it’s justrel="noopener"ifexternal_link:is enabled.
Support title attribute in image link #122
-><img src="http://bar.com/b.jpg" alt="caption" title="a-title">
Ability to override the default rendering functions. Refer to the docs for instruction. #129
- Example usage include adding a custom class name to a link or an image embed.
 
Fix
- For safety, all links and image links are now encoded by default. #112
- Example: 
/foo/bár.jpg->/foo/b%C3%A1r.jpg 
 - Example: 
 
Refactor
- Utilize existing 
isExternalLinkof hexo-util to simplify codebase. #124 
Dependency
hexo-migrator-wordpress 2.0.0
v2 is a complete rewrite to utilize modern APIs. By no means it is feature-complete, please test it on your wordpress.xml and report any item that did not get imported.
Breaking change
- Requires Node 12+, drop support < Node 12 #61
- A requirement of camaro v6 which utilizes 
worker_threads. 
 - A requirement of camaro v6 which utilizes 
 
Feature
--skipduplicateoption to skip importing posts which have similar title as existing ones. #57- Disabled by default
 - Usage: 
hexo migrate wordpress /path/to/wordpress.xml --skipduplicate 
--limit [number]option to set the maximum number of posts to import. #57- Default to importing all posts.
 - Usage: 
hexo migrate wordpress /path/to/wordpress.xml --limit 3 
--aliasoption to redirect post to wordpress-hosted post. #57- Requires hexo-generator-alias
 - Usage: 
hexo migrate wordpress /path/to/wordpress.xml --alias 
Refactor
- Complete rewrite to utilize modern API/library. It enables more flexible parsing of input xml with the ability to support custom elements and future formats. #57
 
Dependency
hexo-migrator-rss 1.0.0
v1 is a complete rewrite to utilize modern APIs. By no means it is feature-complete, please test it on your atom.xml/rss.xml and report any item that did not get imported.
Breaking change
- Requires Node 12+, drop support < Node 12 #60
- A requirement of camaro@6 which utilizes 
worker_threads. 
 - A requirement of camaro@6 which utilizes 
 
Feature
--skipduplicateoption to skip importing posts which have similar title as existing ones. #44- Disabled by default
 - Usage: 
hexo migrate rss /path/to/feed.xml --skipduplicate 
--limit [number]option to set the maximum number of posts to import. #37- Default to importing all posts.
 - Usage: 
hexo migrate rss /path/to/feed.xml --limit 3 
Refactor
- Complete rewrite to utilize modern API/library. It enables more flexible parsing of input feed with the ability to support custom elements and future formats. #34
 
Dependencies
- Upgrade camaro from 4.2.0 to 6.0.2 #58
 - Upgrade turndown from 5.0.3 to 6.0.0 #47
 - Upgrade got from 10.7.0 to 11.0.1 #49
 - Upgrade hexo-util from 1.9.0 to 2.1.0 #53
 - Upgrade hexo-fs from 2.0.0 to 3.0.1 #50