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

@dice-roller/vuepress-plugin

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dice-roller/vuepress-plugin

Plugin for VuePress that allows rolling dice

  • 0.1.9
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

RPG Dice Roller

RPG Dice Roller Vuepress Plugin

Plugin for VuePress that allows rolling dice.

It is built upon this RPG dice roller, and is used in the documentation.

Install

Install the plugin:

npm install -D @dice-roller/vuepress-plugin
# Or
yarn add -D @dice-roller/vuepress-plugin

Then add the plugin to your Vuepress config file:

module.exports = {
  ...
  plugins: [
    ...
    'dice-roller',
  ],
};

Usage

You can add a dice roller anywhere by using the following markdown syntax, where {notation} is the optional notation to pre-fill the input with:

::: roll {notation} :::

For example:

::: roll 4d6 ::
::: roll (2*6)d10 / (4 - d20) :::

Keywords

FAQs

Package last updated on 26 Nov 2021

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