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

vuepress-plugin-dice-roller

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vuepress-plugin-dice-roller

Plugin for VuePress that allows rolling dice

  • 0.1.7
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

vuepress-plugin-dice-roller

Plugin for VuePress that allows rolling dice.

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

Install

Install the plugin:

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

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 07 Sep 2020

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