Add glossary hover presentation
This commit is contained in:
+11
-1
@@ -215,6 +215,15 @@ Markdown emphasis:
|
||||
***bold italic*** or ___bold italic___
|
||||
```
|
||||
|
||||
Right-page glossary notes:
|
||||
|
||||
```text
|
||||
The train stops at Eibenreith.
|
||||
#gloss[Eibenreith](A fictional alpine town in the Kaiserpunk setting.)
|
||||
```
|
||||
|
||||
The tag is scoped to the right-page paragraph/block it belongs to. The bracket value is the visible term; the parenthesized value is the note. The renderer marks every matching instance of that term in the same block. The tag is not displayed, not sent to TTS, and ignored by choices and command history. Escape literal Ink control characters in explanations as needed (`\|`, `\{`, `\}`).
|
||||
|
||||
Chapter:
|
||||
|
||||
```text
|
||||
@@ -288,7 +297,7 @@ Choice tags:
|
||||
# action[examine]
|
||||
```
|
||||
|
||||
`#letter[x]`, `# letter[x]`, or `#key:x` reserves keyboard letter `X` for that choice. Explicit letters are assigned first; remaining visible choices receive `A` through `Z` in screen order, skipping reserved letters. The current UI supports up to 26 visible choices and renders them in one list. `#action[name]` or `#action:name` is stored as the choice category and reserved for later template routing.
|
||||
`#letter[x]`, `# letter[x]`, or `#key:x` reserves keyboard letter `X` for that choice. Explicit letters are assigned first; remaining visible choices receive `1` through `0`, then `A` through `Z` in screen order, skipping reserved letters. The current UI supports up to 36 visible choices and renders them in one list. `#action[name]` or `#action:name` is stored as the choice category and reserved for later template routing.
|
||||
|
||||
Future choice-template metadata should keep the same bracket tag syntax if implemented:
|
||||
|
||||
@@ -459,6 +468,7 @@ Longer-term goal:
|
||||
- [x] Added chapter heading and dropcap markup.
|
||||
- [x] Added section/textblock markup.
|
||||
- [x] Added Markdown emphasis parsing.
|
||||
- [x] Added right-page `#gloss[term](note)` annotations with clean TTS/plain-text handling.
|
||||
- [x] Added image markup parsing, line-snapped rendering, and history/save restoration.
|
||||
- [x] Added sound effect markup and playback.
|
||||
- [x] Added music markup, playback modes, loop/once, and lead-in.
|
||||
|
||||
Reference in New Issue
Block a user