Skip to content

Commit 1db71ad

Browse files
committed
Inline CrateReadme component
1 parent 5d24bc2 commit 1db71ad

File tree

3 files changed

+2
-12
lines changed

3 files changed

+2
-12
lines changed

app/components/crate-readme.js

Lines changed: 0 additions & 7 deletions
This file was deleted.

app/templates/components/crate-readme.hbs

Lines changed: 0 additions & 3 deletions
This file was deleted.

app/templates/crate/version.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@
7171
{{/if}}
7272
</div>
7373
{{#if this.crate.readme}}
74-
<section class="crate-readme" aria-label="Readme">
75-
<CrateReadme @rendered={{this.crate.readme}} />
74+
<section class="crate-readme" aria-label="Readme" {{highlight-syntax selector="pre > code"}}>
75+
{{html-safe this.crate.readme}}
7676
</section>
7777
{{else}}
7878
{{#if this.crate.description}}

0 commit comments

Comments
 (0)