ember-learn / ember-learn/ember-cli-addon-docs
`docs-demo` fails to compile template with certain actions on elements
- Dominant language
- JavaScript
- Stars
- 172
- Forks
- 142
- PR merge metrics
- No merged PRs in 30d
Description
I'm trying to re-write my documentation for `ember-steps` using this addon and am running into trouble with the `docs-demo` component. For example, this snippet fails to compile in a Markdown file, despite being valid Handlebars
```hbs
{{#docs-demo as |demo|}}
{{#demo.example name='cookbook-tabs.hbs'}}
{{#step-manager as |w|}}
First Tab
Second Tab
{{#w.step name='first'}}
This content is on the first tab
{{/w.step}}
{{#w.step name='second'}}
This content is on the second tab
{{/w.step}}
{{/step-manager}}
{{/demo.example}}
{{demo.snippet 'cookbook-tabs.hbs'}}
{{/docs-demo}}
```
It chokes on this part:
```hbs
First
```
with the following error:
> Closing tag `button` (on line 7) without an open tag.
Some different variations of the `{{action}}` also fail, such as this:
```hbs
First
```
This one passes compilation, but doesn't actually do what I want it to
```hbs
First
```
Contributor guide
Assessment
This issue has not been assessed yet.