You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't get why sometimes we have to prepend the variables with "options." and other times we can't do that, and mixing this up will cause the code to break with messages that don't give a hint of what happened, it is quite confusing 😕
Hi @jeanroldao! Basically, whenever you write a data reference ({{ example }}) it automatically prepends it with options..
So the first item in a single data reference shouldn't have options.. A data reference with multiple items should have options. on all references but the first. Example: you should write {{example1 + options.example2}} instead of {{example1 + example2}}.
TL;DR Basically, unless you're writing the first part of a data reference, you should use options.
I apologize for the confusion. This was a design flaw, and we deal with it differently in the next release (which will be released by the end of January).
Built-in Helpers
import Hint from 'react-admonitions'
https://squirrelly.js.org/docs/v7/builtin-helpers/
The text was updated successfully, but these errors were encountered: