@elderjs/plugin-references

    1.3.4 • Public • Published

    Elder.js Plugin: References

    Easily add wikipedia style references to your content.

    1. Simply wrap references in your content like so: An amazing fact.{{ref}}References goes here{{/ref}}.
    2. Add {{referenceList /}} to your content or add {@html helpers.shortcode({name: "referenceList"})} to your Svelte template to display all of the references collected.

    Example: See references in action on this post: https://nicholasreese.com/how-to-generate-more-referrals/

    Install

    npm install --save @elderjs/plugin-references

    Config

    Once installed, open your elder.config.js and configure the plugin by adding @elderjs/plugin-references to your plugin object.

    plugins: {
      '@elderjs/plugin-references': {
        referenceListLabel: 'References: ', // this is the label shown for the reference list.
      }
    }

    Install

    npm i @elderjs/plugin-references

    DownloadsWeekly Downloads

    4

    Version

    1.3.4

    License

    MIT

    Unpacked Size

    3.57 kB

    Total Files

    3

    Last publish

    Collaborators

    • nickreese
    • lukeed