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

@dice-roller/vuepress-plugin-dice-roller

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dice-roller/vuepress-plugin-dice-roller

Plugin for VuePress that allows rolling dice

  • 0.1.10
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
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/vuepress-plugin-dice-roller',
  ],
};

Usage

You can add a die roller anywhere by using the following markdown syntax:

::: roll :::

You can even specify the default notation 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