Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@elderjs/plugin-references

Package Overview
Dependencies
Maintainers
2
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@elderjs/plugin-references

Adds {{ref}} and {{referenceList}} shortcodes to Elder.js allowing you to add wikipedia style references to your content.

  • 1.8.0-beta.7
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-96.83%
Maintainers
2
Weekly downloads
 
Created
Source

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.
  }
}

Keywords

FAQs

Package last updated on 15 Jul 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc