-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs/v7/syntax-overview #18
Comments
Can we pass a literal? For example if I have a filter named "pretty_format", and sometimes I just need to pass a hardcoded value to it (to standardize output), seems like I can't use {{"hello" | pretty_format}} How to make this work? Thanks |
Hi,
but in the example |
@pmjlopez thanks for catching that! |
@tafandi I just fixed filters so they'll work with any kind of literal. |
@nebrelbug is there a way to escape the
Squirrelly will throw a ReferenceError because of unknown |
I found a way but maybe there is another more elegant way? |
@AurelienLourot in your situation, I would probably pass in config options to Squirrelly to change the template delimiters. |
By using now {{{ and }}} as delimiters, i.e. different from Vue's <template> expression delimiters {{ and }}, less escaping will be needed. See also squirrellyjs/squirrelly-docs#18 (comment)
By using now {{{ and }}} as delimiters, i.e. different from Vue's <template> expression delimiters {{ and }}, less escaping will be needed. See also squirrellyjs/squirrelly-docs#18 (comment)
@nebrelbug Are there any syntax highlighting packages for VS Code or Webstorm? |
YMMV, but I was able to do it this way in v9.0
|
autoEscaping | SquirrellyJS
import Hint from 'react-admonitions'
https://squirrelly.js.org/docs/v7/syntax-overview
The text was updated successfully, but these errors were encountered: