Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export to JSON #447

Open
zkat opened this issue Jul 22, 2024 · 0 comments
Open

export to JSON #447

zkat opened this issue Jul 22, 2024 · 0 comments
Assignees
Labels
feature New feature or request

Comments

@zkat
Copy link
Member

zkat commented Jul 22, 2024

We should have a simplified JSON format that holds page metadata in JSON, and renders each note into html, mechanics blocks and character sheets and everything.

There should probably be two modes: one where blocks are rendered as html, and one where they're rendered as static images using the current theme, with something like html2canvas and inlining data: URIs.

This format will be much more useful for folks who want to publish their campaigns in static site generators or things like substack, while still taking advantage of nice block rendering.

This is probably going to be heavily based on the Webpage HTML Export plugin, but we need things to be a bit more bespoke than what that plugin can output.

@zkat zkat added the feature New feature or request label Jul 22, 2024
@zkat zkat self-assigned this Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: On deck
Development

No branches or pull requests

1 participant