hexo-reference
hexo-reference copied to clipboard
A plugin to support markdown footnotes and Wiki-Style tooltip reference in your Hexo blog posts.
When notes contain markdown, markdown is correctly rendered in the footer, but not the tooltips where the raw markdown is displayed instead of rendered markdown.
```markdown info[^1]: anyword [^1]: my footnote ``` this is transformed to: ``` 1.anyword 1.my footnote ```
This PR fixes https://github.com/kchen0x/hexo-reference/issues/15 This fix seems to work fine on my blog: source code of this post:
It seems that [the package on npm](https://www.npmjs.com/package/hexo-reference) is out-dated, compared with the latest commit on master. I recommend publishing a newer version to npm, so as to leverage the recently...
例:在`vercel.json`前面会添加一小段内容: ```json ``` 我很好奇源码中的这一段: ```js // Add CDN CSS resources hexo.extend.filter.register('after_post_render', function(data) { data.content = util.htmlTag('link', {rel: 'stylesheet', type: 'text/css', href: 'https://cdn.jsdelivr.net/hint.css/2.4.1/hint.min.css'}) + data.content; return data; }); ``` 是不是没有过滤掉一些显然不是html的文件,比如json。 
在我在引用之中添加脚注,会在生成时报错: > INFO Start processing FATAL { err: TypeError: Cannot read properties of undefined (reading 'content') at D:\Code\Quasimoodo.github.io\node_modules\hexo-reference\src\footnotes.js:55:43 at String.replace () at renderFootnotes (D:\Code\Quasimoodo.github.io\node_modules\hexo-reference\src\footnotes.js:53:17) at Hexo. (D:\Code\Quasimoodo.github.io\node_modules\hexo-reference\index.js:6:18) at Hexo.tryCatcher (D:\Code\Quasimoodo.github.io\node_modules\bluebird\js\release\util.js:16:23)...
I followed your steps and correctly did all settings. Everything worked well, but the sequence number before the footnote  There are extra number appears before every...
by version 2, I think we should make sure all the dependency and the dev dep, green.
this is not a bot.
Dependabot cannot update highlight.js to a non-vulnerable version The latest possible version that can be installed is 9.18.5 because of the following conflicting dependencies: [email protected] requires highlight.js@^9.4.0 via a transitive...