惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

云风的 BLOG
云风的 BLOG
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
J
Java Code Geeks
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Engineering at Meta
Engineering at Meta
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
小众软件
小众软件
博客园 - 聂微东
酷 壳 – CoolShell
酷 壳 – CoolShell
月光博客
月光博客
Last Week in AI
Last Week in AI
博客园_首页
I
InfoQ
T
Tailwind CSS Blog
爱范儿
爱范儿
雷峰网
雷峰网
Recent Announcements
Recent Announcements
F
Fortinet All Blogs
B
Blog
WordPress大学
WordPress大学
A
About on SuperTechFans
V
Visual Studio Blog
有赞技术团队
有赞技术团队
P
Proofpoint News Feed

Hexo

Hexo Lost 41k GitHub Stars with One Command hexo 8.1.0 Released hexo 8.0.0 Released hexo 7.3.0 Released Hexo 7.2.0 Released Hexo 7.1.0 Released Hexo 7.0.0 Released Hexo 7.0.0 (RC1) Released Hexo 6.3.0 Released Hexo 6.2.0 Released Hexo 6.1.0 Released Official plugins hexo-renderer-marked 5.0.0 and hexo-renderer-markdown-it 6.0.0 released Official plugins hexo-front-matter 3.0.0, hexo-server 3.0.0, hexo-renderer-less-4.0.0 released Hexo 6.0.0 Released Official plugins hexo-renderer-ejs 2.0.0, hexo-generator-sitemap 2.2.0 released Official plugins hexo-cli 4.3.0, hexo-renderer-pug 2.0.0, hexo-paginaiton 2.0.0, hexo-clean-css 2.0.0 hexo-util 2.5.0 released hexo 5.4.0 released hexo-deployer-git 3.0.0, hexo-renderer-marked 4.0.0 released Hexo 5.3.0 released
Hexo 5.2.0, hexo-migrator-wordpress 2.1.2, hexo-renderer-...
Hexo · 2020-09-17 · via Hexo

Hexo 5.2.0

Changes

  • perf(external_link): faster regexp @SukkaW #4536

    • prioritise http(s):// over //
  • feat: support ‘disableNunjucks’ in front-matter @curbengh #4518

    • Enable this option to disable tag plugin
    • Setting this option in front-matter will override the same option set by the renderer (e.g. hexo-renderer-marked)
    ---
    title: foo
    date: 2020-01-02 03:04:05
    disableNunjucks: true|false
    ---
  • fix: avoid escaping front-matter if unnecessary @curbengh #4522

    • using variable (e.g. {{ title }}) with special characters no longer result in double-quote wrap
  • fix: validate value of config.url @curbengh #4520

    • config.url should starts with “http://“ or “https://“
  • fix(router): convert string to buffer in route stream @ppoffice #4517

    • fix crash in hexo generate --bail
  • fix(disableNunjucks): query both async and sync versions of renderer @curbengh #4498

    • disableNunjucks option should now works reliably with synchronous renderer
  • feat(load_plugin): ignore pkg name endswith theme name @SukkaW #4497

    • An initial effort to support scoped package

Housekeeping

  • chore/ci: move benchmark & profiling to Actions @SukkaW #4525 #4514 #4335
    • Travis is now completely replaced by Actions (in this repo)
  • chore: use example.com for example domain @YoshinoriN #4512

hexo-migrator-wordpress 2.1.2

Fix

  • fix(import-image): regex and image slug #103
    • replacing image embed link in a post should now also works within a paragraph that has a pair of bracket “()”.
  • fix(parseFeed): sanitize input #106
    • xml parser camaro may throw error if there is an unprintable character in the input. Those unsafe characters are now removed before being parsed by camaro.

hexo-migrator-wordpress 2.1.1

Fix

  • fix: avoid handling non-post asset #99
    • A post may embeds external images and they should not be processed by import-image.

hexo-renderer-marked 3.2.0

Features

  • feat: mangle option #164
    • a built-in option of marked
    • only useful against a basic crawler used by spam bot.
  • feat: disableNunjucks option #166
    • enable this option to disable processing of Nunjucks tag {{ }} {% %}, particularly useful if you’re not going to use tag plugins.
  • feat: extend filter to tokenizer #165
  • feat: ‘quotes’ option to override smartypants #161
    • it’s now possible to specify the quote symbols to replace.
    • e.g. quotes: '«»“”'

Fixes

  • fix: handle invalid URL #163
    • invalid URL like http://localhost:4000lorem is no longer encoded.
  • fix: autolink option should not apply on markdown syntax #162
    • autolink: no longer affects <http://example.com>.
    • on another note, marked renderer doesn’t detect example.com, if a link doesn’t starts with protocol (e.g. http://), a link must starts with www to be detected (for autolink).

hexo-renderer-stylus 2.0.1

Fix

  • fix: enable disableNunjucks to avoid rendering nunjucks tag #55

    • it’s now safe to use:
    div::before
    content: "{{}}"

hexo-renderer-stylus 2.0.0

Breaking change

Feature

  • feat: execute hexo filter with stylus context #45

    hexo.extend.filter.register('stylus:renderer', function(style) {
    style

    .define('has-canvas', require('stylus').nodes.false);

    .define('families', ['Helvetica Neue', 'Helvetica', 'sans-serif'])

    .define('get-list', function() {
    return ['foo', 'bar', 'baz'];
    });
    })

Misc

  • docs: setting variables #41
    • This feature has been available since 0.3.1 but not documented until now.
    • Refer to our guide.

hexo-renderer-less 2.0.2

Fix

  • fix: enable disableNunjucks to avoid rendering nunjucks tag #52

    • it’s now safe to use:
    div::before {
    content: "{{}}";
    }

hexo-renderer-less 2.0.0

Breaking changes

  • Drop Node 8 #48 #44
  • compress option has been deprecated #30
    • Deprecated by upstream.

Features

  • feat: support Less.js options #47

    _config.yml
    less:
    options:
    globalVars:
    var1: 'some value'
  • feat: supports globbing #37

    • Example:
    _config.yml
    less:
    paths:
    - '**/css/variables/*'