Skip to content

Commit

Permalink
Merge pull request #24 from the-markup/config-readme-update
Browse files Browse the repository at this point in the history
updating config readme
  • Loading branch information
BatMiles committed Feb 21, 2024
2 parents fd03108 + a24c99e commit 6e6ca16
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,12 +70,13 @@ You can adjust some parameters for the sake of testing locally in `config.json`.

| Key | What does it do? |
|------------------|--------------------------------------------------------------------------------------------------------------------------------------------|
| `name` | The most important setting. This determines where the interactive is uploaded. Make sure it's something descriptive and unique. |
| `heading` | Only used for preview purposes. |
| `source` | Only used for preview purposes. |
| `align` | Set the alignment. Only used to determine how to preview it locally. Options are currently: `inline`, `left`, `right`, `full-width`. |
| `heading` | Only used for preview purposes. Sets the heading displayed in the local graphic. |
| `subhead` | Only used for preview purposes. Sets the subheading displayed in the local graphic. |
| `source` | Only used for preview purposes. Sets the source for the local graphic. |
| `align` | Set the alignment. Only used to determine how to preview it locally. Options are currently: `inline`, `left`, `right`, `wide`. |
| `bespoke` | Boolean used to determine whether graphic should be on a bespoke page. Bespoke pages use a full width graphic where the content normally appears. Example: [Blacklight](https://themarkup.org/blacklight) |
| `screen_capture` | Set this to `false` if you have any troubles with the screengrab process; it can sometimes crash unexpectedly. |
| `auto_screenshot`| Controls whether to take a screenshot during compilation. Set this to `false` if you have any troubles with the screengrab process; it can sometimes crash unexpectedly. |
| `fonts` | Allows loading of custom fonts. Set to the filepath of any local fonts that should be compiled with the graphic. |
| `svelte` | Set this to `true` if you want to use Svelte. Use the `svelte` directory instead of the `javascript`, `sass`, and `templates` directories. |

## Updating forks with changes from `graphics-template`
Expand Down

0 comments on commit 6e6ca16

Please sign in to comment.