Skip to content

Commit

Permalink
Improve install instructions
Browse files Browse the repository at this point in the history
- moving prompt sign to before pseudoelement
  • Loading branch information
vladimyr committed Feb 16, 2020
1 parent f554c8b commit 139633a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion micro_files/micro.css
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ p.lead {
margin: 40px 0;
margin-top: 0;
margin-bottom: 0;
color: #2F3590;
color: #2F3590;
}
.getting-involved {
margin: 40px 0;
Expand All @@ -132,3 +132,7 @@ p.lead {
border-radius: 5px;
}

.install-instructions::before {
content: "$ ";
display: inline;
}
4 changes: 3 additions & 1 deletion micro_files/plugin-search.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ const template = ({ name, description, versions, website, tags, collapsed }) =>
</p>
`)}
<p>To install this plugin, run the following command from your CLI</p>
<div class="well"><code>$ micro -plugin install ${name}</code></div>
<div class="well">
<code class="install-instructions">micro -plugin install ${name}</code>
</div>
</div>
</div>
</div>
Expand Down
4 changes: 3 additions & 1 deletion web_modules/plugin-search.bundle.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 139633a

Please sign in to comment.