项目作者: jsnee

项目描述 :
Visual Studio Code extension for managing campaign documents.
高级语言: TypeScript
项目地址: git://github.com/jsnee/vscode-dmbinder.git
创建时间: 2019-02-01T20:28:26Z
项目社区:https://github.com/jsnee/vscode-dmbinder

开源协议:GNU General Public License v3.0

下载


vscode-dmbinder

Visual Studio Code extension for managing campaign documents.

Documentation

Documentation of how to use vscode-dmbinder has now moved to our wiki!

Installation

Requires Visual Studio Code. Once VSCode is installed, search for the extension or install it from here.

Features

  • DMBinder view that helps organize campaign documents
  • Generation of Hombrewery elements using snippets and templating (Mustache, Handlebars or Pandoc)
  • Rendering of markdown files to PDF using Puppeteer
  • Randomly generate dungeon maps
  • Generation of content (like names, titles, locations, etc.) using randomized lists or Markov chains
  • Random generation of basic dungeon maps

Issues or Feature Requests

Please submit any issues or new feature requests to GitHub.

DMBinder Explorer

The extension looks for .dmbinder/campaign.json in your workspace folders, and displays all DMBinder campaigns in the sidebar.

DMBinder Explorer screenshot

DMBinder Explorer Screenshot

Configuration Settings

  • dmbinder.generateGettingStartedEnabled
  • dmbinder.homebrewPreviewEnabled
  • dmbinder.autogenerateOnRender
  • dmbinder.treeViewStyle
  • dmbinder.chromeExecutablePath
  • dmbinder.defaultTemplatingEngine (Default: “handlebars”)

campaign.json

Below is an example Campaign configuration file:

  1. {
  2. "campaignName": "My Cool Campaign",
  3. "sourcePaths": [
  4. "./source/"
  5. ],
  6. "templatePaths": [
  7. "./templates/"
  8. ],
  9. "componentPaths": [
  10. "./components/"
  11. ],
  12. "generatorPaths": [
  13. "./generator-sources"
  14. ],
  15. "outDirectory": "./out/"
  16. }

Planned Changes

  • When generating a dungeon map, save settings to a Markdown comment before the map

See generator-dmbinder for a yeoman generator to help bootstrap a campaign binder.

See Changelog for release notes.


Icon Sources