Feat/add weekly notes 10 #10
1 changed files with 10 additions and 0 deletions
|
@ -17,4 +17,14 @@ const markdown = markdownIt({
|
||||||
defaultLanguage: "plaintext",
|
defaultLanguage: "plaintext",
|
||||||
});
|
});
|
||||||
|
|
||||||
|
markdown.renderer.rules.footnote_block_open = (_tokens, _idx, options) => {
|
||||||
|
return (
|
||||||
|
(options.xhtmlOut
|
||||||
|
? '<hr class="footnotes-sep" />\n'
|
||||||
|
: '<hr class="footnotes-sep">\n') +
|
||||||
|
'<section class="footnotes">\n' +
|
||||||
|
'<ol class="footnotes-list flow">\n'
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
module.exports = markdown;
|
module.exports = markdown;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue