- Added
printBackground
Puppeteer PDF option to properly render background images
- Homebrewery preview styles are only applied if
dmbinder.homebrewPreviewEnabled
setting is enabled- Removing the previous solution to this problem
- Now the preview should work for unsaved markdown files, too
- Homebrewery preview styles are only applied if
dmbinder.homebrewPreviewEnabled
setting is enabled- This time the styles are put in the
.vscode
directory since markdown styles need to be relative to the workspace
- This time the styles are put in the
- Homebrewery preview styles are only applied if
dmbinder.homebrewPreviewEnabled
setting is enabled
- Ability to set document orientation
- Landscape or Portrait (Defaults to Portrait)
- Fixed HTML rendering to PDF before page has finished loading
- Fixed HTML page ids being in reverse
- Ability to render a specific page layout (paper size)
- Supported sizes include: "Letter", "Legal", "Tabloid", "Ledger", "A0", "A1", "A2", "A3", "A4", "A5", and "A6"
- Fixed various node dependency vulnerabilities
- New DMBinder terminal
autogen
command autogenerates all "autogen" components in current document.component
command builds a componentlist
command lists components/templates/generatorsgenerate
command generates content based on a given configurationroll
command generates a randomly rolled outcomehelp
command displays usage information (in general or for a specified command)exit
command closes the terminal
- Fix some more component autogeneration issues
- Fix some component autogeneration issues
- Removed some view options accidentally showing up on other extension views
- Removed logging to debug console on startup
- Added repeat generator syntax in generator expression
- Added some unit tests
- Added Python's format specification to dice roll generator expressions
- Added dice rolling to generator expression syntax
- Clicking on the campaign name in the status bar opens the campaign's config file
- Added a button to toggle the campaign explorer layout to the campaign explorer
- Migrated documentation to the GitHub wiki
- Added a RollTable content generator, replacing the basic generator method (was not very efficient)
- Fixed some broken error handling (trying to print Error object to error message)
- Fixed templates/components not working when not stored on the C: drive in Windows
- Also added some error messages when building a component fails
- Added templating with Handlebars (really, just a beefed up version of Mustache)
- NOTE: Mustache is still supported and is treated as a separate rendering engine
- Set the default rendering engine to Handlebars
- Cleaned up the README a bit (still have a lot more to do)
- Added Templating with Mustache
- Webpack for real this time
- Automatically determine which version of Chromium the installed version of puppeteer-core prefers
- Add snippet for autogenerated component
- Inserting a component now includes the autogeneration tags ("Build component" still omits autogeneration tags)
- Webpack broke extension, rolling back to fix
- Bundle extension package to reduce extension size and load time
- Bugfixes
- DMB Autogenerate removes comments
- Allow images to be rendered to PDF
- Autogenerate ids for headers (to be used for linking within a document)
- Cleanup package.json
- Revisit extension activations
- Catch Puppeteer errors (incompatible Chrome/Puppeteer versions can cause strange errors) and suggest use of recommended revision of Chromium
- Allow content generator configs to specify weighted random list of values (like rolling on a table)
- Allow specification of certain parameters for content generation (like specifying a gender or race when generating an NPC name)
- Allow conditional content generation
- Allow adding folders from the DM Binder view
- Allow adding files from the DM Binder view
- Fix missing files listed in campaign config breaking the extension
- Make sure the dmbinder.autogenerateOnRender setting actually does something (whoops)
- Added a bunch of Homebrewery snippets
- Added autogeneration of components
- Added a dungeon generator, based on the one from donjon.bin.sh originally written in Perl
- Removed abandoned "conditionalValues" feature from content generator code and dmbgen.json schema definition
- Fixed content generator variable storage and recall to use last set value (variables are set with syntax "{generatorName:variableToSet}") when recalling values (variables are recalled with syntax"{:variableToRecall}")
- Bugfix to add in some DMBinder commands that were missing from the extension activation events listing
- Added multi-line generators which use all the strings listed in the "values" array, separated by newline characters
- Added new generator type ("import") to specify generators to be imported from a separate config file
- Added Command Palette command for generator that prompts the user to optionally override each template token
- Fix generator source file issue
- Apply filtering to Command Palette for certain commands
- Automatically refresh the campaign when 'campaign.json' is modified
- Handle JSON components specifying templateItem
- Added text generation system
- Fix pretty nasty README issue that screwed up most of the documentation
- Added usage and other documentation
- Various minor tweaks
- Render PDFs using own MarkdownIt instance
- Remove included Win64 Chromium executable (to reduce extension size)
- Added recommended Chromium revision (one that renders fonts correctly)
- Bugfix for cleaning up temporary files used to generate PDFs
- Added the ability for Puppeteer to use a local Chrome executable to render PDFs
- Added a command to download specific revisions of Chromium for use by Puppeteer to render PDFs
- Fixed some README typos
- Added file type filtering to 'Split' views
- Fixed the PDF renderer adding an extra blank page
- Bugfixes
- Added new feature to render all files in campaign to PDF
- Added ability to render sources to PDF
- Fix refresh campaign showing up on other extensions
- Fix font color issue
- Markdown preview bugfix
- Cleanup
- Bugfixes
- Added extension icon
- Initial release