Closed MakerGYT closed 3 years ago
Available in v5.0.0+
hexo.extend.filter.register('markdown-it:renderer', function(md) {
md.renderer.rules.footnote_block_open = () => (
'<h4 class="mt-3">Footnotes</h4>\n' +
'<section class="footnotes">\n' +
'<ol class="footnotes-list">\n'
);
});
Save it in a .js
file in scripts/
folder.
Thanks
@oncletom As markdown-it-footnote doc,
That way, we can customize the output. So, how to customize the footnote output in
hexo-renderer-markdown-it
after plug-in integration