Hi valentine.195, thank you for making this! Iāve been eagerly looking forward to table-based rolling!
Unfortuantely I get a bug when I try to use it. For this page āUntitledā:
| 1d6 | Fruit | Color |
| --- | --------- | ------ |
| 1 | Apple | Red |
| 2 | Orange | Orange |
| 3 | Banana | Yellow |
| 4 | Lime | Green |
| 5 | Blueberry | Blue |
| 6 | Grape | Purple |
^fruit-and-color-table
`dice: [[Untitled^fruit-and-color-table]]`
I expected to see a random row from the table. Instead I got this exception in the console:
lexer.js:4 Uncaught (in promise) Error: Unexpected character at index 0: [
at Lexer.defunct (eval at <anonymous> (app.js:1), <anonymous>:53:11)
at Lexer.lex (eval at <anonymous> (app.js:1), <anonymous>:135:41)
at DiceRoller.parse (eval at <anonymous> (app.js:1), <anonymous>:1964:36)
at DiceRoller.eval (eval at <anonymous> (app.js:1), <anonymous>:1852:45)
at Generator.next (<anonymous>)
at eval (eval at <anonymous> (app.js:1), <anonymous>:31:71)
at new Promise (<anonymous>)
at __awaiter (eval at <anonymous> (app.js:1), <anonymous>:27:12)
at eval (eval at <anonymous> (app.js:1), <anonymous>:1849:53)
at new Promise (<anonymous>)