BrewVault

approvedunreviewed

by luiserivaldo

Render Markdown notes into Homebrewery-style, paginated D&D 5e documents right inside Obsidian.

★ 7 stars↓ 2,290 downloadsUpdated 19d agoMIT

BrewVault

BrewVault is an Obsidian plugin for turning Markdown notes into themed, D&D 5e-style documents. Preview your work inside Obsidian, export directly to PDF using preconfigured themes, or export as HTML and apply custom CSS styles.

Features

  • Live rendered preview that follows the active Markdown note as its source.
  • Preconfigured Player's Handbook, Dungeon Master's Guide, and SRD / Unearthed Arcana themes.
  • Per-note export options from frontmatter properties: theme, running footer, page numbers, Letter or A4 paper, file name, and export subfolder.
  • Compiling notes: list notes or whole folders in a {{bookContent}} block to export them as one paginated preview and PDF.
  • Table of contents: generate a Homebrewery {{toc list with page numbers from a note's headings, including compiled notes.
  • Styling inspired by Homebrewery fonts, page measurements, headings, tables, notes, descriptive boxes, monster blocks, and page furniture.
  • Standard Obsidian Markdown plus Homebrewery-style blocks, inline tags, page breaks, column breaks, and wide elements.
  • Compact Homebrewery tag labels in the Markdown editor for a seamless workflow transition.
  • Automatic pagination without changing the source Markdown file.
  • Direct PDF export with backgrounds and fonts preserved.
  • Self-contained HTML export that can be opened without Obsidian or BrewVault.
  • Configurable vault-relative export folder; defaults to the root folder at BrewVault-Exports.
  • Fully local and offline. Desktop requires no external browser, server, or Chromium installation. Mobile can either hand the final print step to an installed browser or write the PDF directly inside Obsidian.

Mobile support

Mobile preview scales each page to fit the screen. Mobile PDF export offers two methods:

  • Browser handoff (default) saves a self-contained .brew.html file and hands it to a browser, where you use Share → Print → Save as PDF. Text stays selectable and searchable.
  • Direct PDF (image pages) writes the PDF inside Obsidian with no other app. Each page is stored as an image, so text is not selectable and files are larger.

Pick the default under Settings → BrewVault → Mobile PDF export, or run Export current file as BrewVault PDF via browser or Export current file as BrewVault PDF directly (image pages) for a one-off choice. Current releases are tested on Android only; see Mobile support for the full comparison.

Installation

BrewVault 0.7.2 supports desktop and mobile Obsidian 1.7.2 or newer.

  1. Download or obtain manifest.json, main.js, and styles.css from the BrewVault release package.

  2. Create this folder inside your vault:

    <vault>/.obsidian/plugins/BrewVaultPlugin/
    
  3. Copy the three files into that folder.

  4. Restart Obsidian, or reload the app without saving.

  5. Open Settings → Community plugins and enable BrewVault.

Quick start

  1. Open a Markdown note and run BrewVault: Open preview from the Command Palette (Ctrl/Cmd + P), or click the scroll icon in the ribbon.

  2. Add a Homebrewery-style block, either by typing it or with BrewVault: Insert block…:

    {{note
    ##### Rules Note
    This text is displayed as a Homebrewery note.
    }}
    
  3. Run BrewVault: Export current file as BrewVault PDF. The PDF is saved to BrewVault-Exports/ in your vault.

Documentation

GuideCovers
CommandsEvery preview, export, and insert command, plus export file naming.
Markdown syntaxBlocks, inline tags, stat fields, spacing, page and column breaks, links, and images.
Note propertiesbv_* properties for a note's theme, footer, page numbers, page size, file name, export folder, and insert edition.
Compiling notesExporting many notes as one paginated document from links, folders, and note properties.
Table of contentsGenerating a contents list with page numbers from a note's headings.
SettingsPlugin settings and custom CSS themes.
Mobile supportMobile preview and the two mobile PDF methods: browser handoff and direct PDF.

Accreditation and licensing

BrewVault is inspired by and adapts theme resources from the open-source Homebrewery project by Scott Tolksdorf and the NaturalCrit contributors. Homebrewery is distributed under the MIT License. Vendored theme, font, and decorative-asset notices are kept with their respective resources.

The project scaffold is adapted from the official, 0BSD-licensed Obsidian sample plugin. Third-party packages and assets remain subject to their own licenses.

BrewVault is an independent community project and is not affiliated with or endorsed by NaturalCrit, Obsidian, or Wizards of the Coast. Dungeons & Dragons and related marks are property of Wizards of the Coast.

BrewVault itself is released under the MIT License.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.