Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Commit

Permalink
Merge pull request #375 from hashicorp/amy/update-ember-prism
Browse files Browse the repository at this point in the history
Update CodeBlock syntax
  • Loading branch information
amyrlam authored Jan 12, 2022
2 parents 7c26591 + 0550008 commit 0d43287
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions website/app/templates/engineering.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,14 @@
<code class="ds-code">@stretched</code>
attribute:
{{! prettier-ignore-start }}
{{! template-lint-disable no-triple-curlies }}
<CodeBlock
@language="markup"
@code='
<FlightIcon @name="zap" @size="24" @stretched=&lbrace;&lbrace;true&rbrace;&rbrace; />
'
@code={{{'
<FlightIcon @name="zap" @size="24" @stretched={{true}} />
'}}}
/>
{{! template-lint-enable no-triple-curlies }}
{{! prettier-ignore-start }}
</p>

Expand Down Expand Up @@ -258,12 +260,14 @@
<code class="ds-code">@isInlineBlock</code>
to false:
{{! prettier-ignore-start }}
{{! template-lint-disable no-triple-curlies }}
<CodeBlock
@language="markup"
@code='
<FlightIcon @name="triangle-fill" @isInlineBlock=&lbrace;&lbrace;false&rbrace;&rbrace; />
'
@code={{{'
<FlightIcon @name="triangle-fill" @isInlineBlock={{false}} />
'}}}
/>
{{! template-lint-enable no-triple-curlies }}
{{! prettier-ignore-end }}
</p>
</div>
Expand Down

1 comment on commit 0d43287

@vercel
Copy link

@vercel vercel bot commented on 0d43287 Jan 12, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

Please sign in to comment.