[deploy] Add markdown version for DEV badge link (#9227)

This commit is contained in:
bravemaster619 2020-07-10 05:34:03 +08:00 committed by GitHub
parent 47b363bed7
commit 7fb7b179d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,6 +49,12 @@
&lt;img src="https://d2fltix0v2e0sb.cloudfront.net/dev-badge.svg" alt="<%= current_user.name %>'s <%= community_name %> Profile" height="30" width="30"&gt;
&lt;/a&gt;
</pre>
<p>
You can embed the <%= community_name %> badge in markdown with this snippet:
</p>
<pre class="embed-code">
[![<%= current_user.name %>'s <%= community_name %> Profile](https://d2fltix0v2e0sb.cloudfront.net/dev-badge.svg)](<%= user_url(current_user) %>)
</pre>
<p>You can add the <%= community_name %> badge via
<b><a href="https://fontawesome.com/icons/dev?style=brands" target="_blank" rel="noopener">Font Awesome</a></b> with this snippet:
</p>