JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q38060F
  • License MIT

A plugin to support markdown footnotes and Wiki-Style tooltip reference in your Hexo blog posts.

Package Exports

  • hexo-plugin-reference
  • hexo-plugin-reference/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hexo-plugin-reference) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

hexo-reference

Forked from kchen0x/hexo-reference

A plugin to support markdown footnotes and Wiki-Style tooltip reference in your Hexo blog posts.

UPDATED!!

Escaped some HTML characters (&·<·>·'·") in the footnote content. (e.g. "footnote text with quotes" below)

Lorem ipsum[`link description`](https://example.com)[^1]

[^1]: "footnote text with quotes"[https://example.com](https://example.com)

Installation

npm install hexo-plugin-reference --save

If Hexo detect automatically all plugins, that's all.

If that is not the case, register the plugin in your _config.yml file :

plugins:
  - hexo-plugin-reference

Syntax

Mardown

basic footnote[^1]
here is an inline footnote[^2](inline footnote)
and another one[^3]
and another one[^4]

[^1]: basic footnote content
[^3]: paragraph
footnote
content
[^4]: footnote content with some [markdown](https://en.wikipedia.org/wiki/Markdown)

See Demo here.

Output

footnotes