


















perf(external_link): faster regexp @SukkaW #4536
http(s):// over //feat: support ‘disableNunjucks’ in front-matter @curbengh #4518
---
title: foo
date: 2020-01-02 03:04:05
disableNunjucks: true|false
---
fix: avoid escaping front-matter if unnecessary @curbengh #4522
{{ title }}) with special characters no longer result in double-quote wrapfix: 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
hexo generate --bailfix(disableNunjucks): query both async and sync versions of renderer @curbengh #4498
disableNunjucks option should now works reliably with synchronous rendererfeat(load_plugin): ignore pkg name endswith theme name @SukkaW #4497
import-image.{{ }} {% %}, particularly useful if you’re not going to use tag plugins.quotes: '«»“”'http://localhost:4000lorem is no longer encoded.autolink: no longer affects <http://example.com>.example.com, if a link doesn’t starts with protocol (e.g. http://), a link must starts with www to be detected (for autolink).fix: enable disableNunjucks to avoid rendering nunjucks tag #55
div::before
content: "{{}}"
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'];
});
})
fix: enable disableNunjucks to avoid rendering nunjucks tag #52
div::before {
content: "{{}}";
}
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。