Skip to main content

Arcadible Markdown

Your store page is your README. Arcadible reads the game's title, tagline, bio, and description from Markdown in your repository, so the store page is versioned, reviewed, and deployed with the code. It also renders normally on GitHub.

A README split into a banner line GitHub shows and the store ignores, the title, tagline, and bio, the description between the first and last rules, and ignored content after the last rule README.md ![Star Drift banner](.arcadible/banner.png) # Star Drift ## Drift. Dodge. Survive. A one-thumb arcade game about surfing the gravity wells of a dying star. --- --- ### Features ## Development Ignored, for GitHub The store uses the art file Title The first heading Tagline The heading under it Bio The paragraph that follows Description Between the first and last --- Ignored After the last ---

Arcadible Markdown is ordinary GitHub Flavored Markdown with two differences:

  • A fixed document structure that maps sections to manifest fields.
  • A restricted element set for the description, so every store page renders safely and consistently.

The file​

The CLI reads README.md (or arcadible.md if present). With an arcadible.md, the README is left alone, so it can stay about development while arcadible.md holds the store page.

Structure​

README.md
![Star Drift banner](.arcadible/banner.png)

# Star Drift: Beyond the Rim (Star Drift)

## Drift. Dodge. Survive.

A fast, one-thumb arcade game about surfing the gravity wells of a dying star.

---

Pilot a derelict freighter through collapsing orbits, **chaining slingshots** to outrun the shockwave.

![Gameplay](.arcadible/gallery/gameplay.mp4 "Sector 1")

### Features

- 60 hand-built sectors
- Daily seeded runs with global leaderboards
- Full gamepad support

---

## Development

Build instructions for contributors.

It maps to the manifest like this:

MarkdownFieldRules
First # headingtitleUp to 30 characters, plain text, not counting a short title in (…)
(…) at the end of that headingshort_titleUp to 15 characters, plain text. Not read when short_title is set in arcadible.toml
## heading right after the titletaglineUp to 30 characters, plain text
Paragraph directly after the taglinebioUp to 180 characters, plain text
Between the first and last ---descriptionAllowed elements, up to 3,000 characters of HTML
After the last ---IgnoredNot read

Rules to note:

  • The tagline comes right after the title. Only images, such as a banner or badges, can sit between the # title and the ## tagline, and nothing between the tagline and the bio. Images can also go above the title, which is where the banner goes in a README. A ## heading anywhere else is a section of your README, not the tagline.
  • The description needs two rules. If a README with a # title has anything after its title, tagline, and bio, it must have at least two --- lines, or arc validate fails (description_rules_missing). A README with only a title, tagline, and bio has no description.
  • Leave a blank line above each ---. Directly under a line of text, --- turns that line into a ## heading instead of a rule.
  • The last --- ends the description. You can use --- inside the description as a divider, and everything after the final one isn't read, so it can hold build notes, badges, or contributor docs.
  • Everything else before the first --- is ignored. The banner image in the example is only there for GitHub. The store uses .arcadible/banner.png directly.
  • Without a # title before the first ---, there's no title, tagline, or bio, and arc validate doesn't check the structure. A description between two --- rules is still read. To keep a repository README as it is, put the store page in arcadible.md, or set the fields in arcadible.toml.
  • The title, tagline, and bio are plain text. They allow letters, ASCII digits, spaces, and . , ! ? ' " ( ) : ; -. Use straight quotes. Emoji, &, and / are rejected.

Any field can be overridden in arcadible.toml, which takes precedence. Run arc inspect game.description to see what the CLI extracted.

Elements​

The description is converted to HTML and checked against an allowlist. Anything outside the allowlist fails arc validate and isn't published.

MarkdownRenders asNotes
Paragraphsp
### Headingh3The highest heading level available
#### Headingh4
**bold**strong
*italic*em
[text](https://…), [text](url "title")aLink rules
- item, * itemul / liNesting is supported
1. itemol / liMust start at 1
> quoteblockquote
---hrOnly between the outer rules
![alt](.arcadible/gallery/x.png)imgMedia rules
![alt](.arcadible/gallery/x.mp4)videoMedia rules

These aren't supported:

  • # and ## headings (they're reserved for the title and tagline), and ##### or deeper
  • Inline code and code blocks
  • Strikethrough (~~)
  • Tables and task lists
  • Hard line breaks (a trailing double space or \)
  • HTML comments (<!-- … -->)
  • Raw HTML other than the elements above (raw HTML is checked against the same allowlist)
  • Only https:// URLs are allowed.
  • Relative URLs, #fragment links, http:, mailto:, javascript:, and other schemes are rejected. A relative link that works on GitHub, such as docs/controls.md, has nothing to point to on the store page.
  • Bare https:// URLs are autolinked, following GFM. A bare www. address or email address becomes an http: or mailto: link, which is rejected.
  • Links open in a new tab.

Media​

Images and videos use Markdown image syntax. The file extension decides which element is rendered:

![Title screen](.arcadible/gallery/title.png) ![Boss fight](.arcadible/gallery/boss_fight.mp4 "Sector 12")

Markdown has no video syntax, so Arcadible treats an image with an .mp4 extension as a video. It renders with player controls and a poster frame.

  • The src must be the file's path in .arcadible/gallery/, written as .arcadible/gallery/<file>, and the file must exist. Remote URLs and other spellings of the path, such as ./.arcadible/gallery/<file>, aren't allowed.
  • The file must meet the gallery rules: PNG or MP4, from 512 × 512 up to 2048 × 2048, and a unique name without its extension.
  • Media is resized for display, up to 1280 pixels wide. Landscape media keeps its aspect ratio. Portrait and square media are cropped to 16:9, so keep the subject centered.
  • An image keeps its alt text. A video has no alt, so the CLI leaves it out; give a video a title instead, such as "Sector 12" above.

Any gallery file can be embedded, including screenshots. Files that aren't screenshots only appear where you embed them.