ember-learn / ember-learn/ember-cli-addon-docs
`docs-demo` fails to compile template with certain actions on elements
- Lingua principale
- JavaScript
- Stelle
- 172
- Fork
- 142
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
```
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.