Open
Description
Description
When adding a Lua directive ${...}
inside a table cell, it is only rendered when editing the table contents.
When the cursor is outside of the table, the literal text/directive itself is shows.
Details
- SilverBullet: 0.10.4, Edge and v2
Steps to reproduce
- Create a new table with a Lua directive inside, for example:
| Col A |
|-------|
| ${10+2)} |
-
Move your cursor to the line of the table heading
Col A
The Lua directive is now rendered as the result of the expression:12
-
Move your cursor outside of the table (a line above the heading or below the cell with the directive)
The Lua directive is now rendered as plain text:${10 + 2}
Notes
Especially with v2 removing Command Links (easily replaced with Lua Widgets), it's important that they are rendered everywhere. :)