UNPKG
hexo-filter-inline-image
Version:
latest (1.1.0)
1.1.0
1.0.0
hexo-filter-inline-image ## Installation
hexo-filter-inline-image
/
index.js
10 lines
(7 loc)
•
220 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
hexo.config.inline_image = Object.
assign
({
enabled
:
true
,
compress
:
true
,
remote
:
false
,
limit
:
2048
}, hexo.config.inline_image); hexo.extend.filter.
register
(
'after_post_render'
,
require
(
'./lib/imageInline'
))