Skip to content

Commit abf317f

Browse files
Brian Whittonsamselikoff
authored andcommitted
no line breaks in docs-snippet tag
ember-code-snippet won't pick up a multi-line opening tag. that's probably an issue with ember-code-snippet, but for now this fixes the rendering on this template
1 parent 1bf8bc1 commit abf317f

File tree

1 file changed

+1
-4
lines changed
  • tests/dummy/app/pods/docs/components/docs-snippet/demo4

1 file changed

+1
-4
lines changed

tests/dummy/app/pods/docs/components/docs-snippet/demo4/template.hbs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<div class='docs-my-8'>
2-
{{#docs-snippet
3-
name='docs-snippet-title-example.js'
4-
title='app/components/my-component.js'
5-
}}
2+
{{#docs-snippet name='docs-snippet-title-example.hbs' title='app/components/my-component.js' showCopy=false language='javascript'}}
63
import Component from '@ember/component';
74
export default Component.extend({
85
// ...

0 commit comments

Comments
 (0)