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
ember-code-snippet's appropriate snippetRegexes options that is set up in this addon's ember-cli-build.js can't handle angle brackets, which might be misleading: although the docs do mention that:
you can copy-paste this block to get going in your own app
but they don't mention that actually any other way of invoking it, like naming <DocsDemo> yield something other than demo, using angle brackets or having example code in the same line as <demo.example> opening tag will provide with erroneous / unintended behavior.
I'll submit a PR to address angle bracket invocation but maybe one line in the <DocsDemo> docs could mention that users should always use demo as the yielded hash's reference.
The text was updated successfully, but these errors were encountered:
ember-code-snippet
's appropriatesnippetRegexes
options that is set up in this addon'sember-cli-build.js
can't handle angle brackets, which might be misleading: although the docs do mention that:but they don't mention that actually any other way of invoking it, like naming
<DocsDemo>
yield something other thandemo
, using angle brackets or having example code in the same line as<demo.example>
opening tag will provide with erroneous / unintended behavior.I'll submit a PR to address angle bracket invocation but maybe one line in the
<DocsDemo>
docs could mention that users should always usedemo
as the yielded hash's reference.The text was updated successfully, but these errors were encountered: