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

Rolltables #3

Open
michaeltlombardi opened this issue Sep 8, 2021 · 0 comments
Open

Rolltables #3

michaeltlombardi opened this issue Sep 8, 2021 · 0 comments
Labels
enhancement New feature or request Epic shortcode Related to a hugo shortcode

Comments

@michaeltlombardi
Copy link
Contributor

michaeltlombardi commented Sep 8, 2021

As a game developer, it would be useful to be able to use a hugo shortcode to get a rollable table instead of a static one.

It should be possible to generate roll tables from several different data sources, both local and remote:

  • YAML and JSON data files
  • CSV files
  • Google Sheets
  • Inline markdown tables

For local sources, the table should generate at build time and live on the page as static HTML.

For remote sources, users should have the option to:

  1. Generate at build time from current data.
  2. Generate at load time from current data.
  3. Generate at build time with an option to check remote file for updates, rebuilding if needed and falling back on build-time-generated data if not.
  4. Include an explicit option to sync the data with remote values. Possibly, this should be cached for the user to support future offline usage.
@michaeltlombardi michaeltlombardi added enhancement New feature or request Epic labels Sep 8, 2021
@michaeltlombardi michaeltlombardi added the shortcode Related to a hugo shortcode label Oct 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Epic shortcode Related to a hugo shortcode
Projects
None yet
Development

No branches or pull requests

1 participant