Add ink integration UI and media playback
@@ -6,14 +6,15 @@ Story image paths resolve relative to this directory.
|
||||
Image block markup:
|
||||
|
||||
```text
|
||||
::image[widescreen](image-name.jpg)
|
||||
::image[portrait](image-name.jpg)
|
||||
#image[image-name.jpg](landscape)
|
||||
#image[image-name.jpg](portrait)
|
||||
```
|
||||
|
||||
Sizes:
|
||||
|
||||
- `widescreen`: exactly 100% of the page width and 50% of the page height.
|
||||
- `portrait`: exactly 100% of the page width and 100% of the page height.
|
||||
- `landscape`/`widescreen`: 16:9, centered, near full page width, height snapped to whole line heights.
|
||||
- `portrait`: 16:9, half page width, height snapped to whole line heights, with following prose flowing beside it.
|
||||
- `square`: 1:1, centered, near full page width, height snapped to whole line heights.
|
||||
|
||||
Image markup is parsed and queued by the story markup system, but final image rendering is still future work. Keep assets ready for that renderer by using browser-friendly formats such as `.jpg`, `.png`, `.webp`, or `.avif`.
|
||||
|
||||
|
||||
|
After Width: | Height: | Size: 3.5 MiB |
|
After Width: | Height: | Size: 3.4 MiB |
|
After Width: | Height: | Size: 3.1 MiB |
|
After Width: | Height: | Size: 3.5 MiB |
|
After Width: | Height: | Size: 3.4 MiB |
|
After Width: | Height: | Size: 3.2 MiB |
|
After Width: | Height: | Size: 3.1 MiB |