Selaa lähdekoodia

Merge pull request #495 from rlaboiss/libravatar-fix-readme

Libravatar: use fenced code blocks
Justin Mayer 9 vuotta sitten
vanhempi
commit
dd8cb2bab0
1 muutettua tiedostoa jossa 13 lisäystä ja 10 poistoa
  1. 13 10
      libravatar/Readme.md

+ 13 - 10
libravatar/Readme.md

@@ -17,13 +17,15 @@ the article's metadata.
 
 In ReSTructuredText:
 
-    :::rst
-    :email: bart.simpson@example.com
+```rst
+:email: bart.simpson@example.com
+```
 
 In Markdown:
 
-    :::text
-    Email: bart.simpson@example.com
+```markdown
+Email: bart.simpson@example.com
+```
 
 If the avatar for the specified email address is not found at Libravatar,
 it is searched at [Gravatar](http://www.gravatar.com).  If it is not found
@@ -38,12 +40,13 @@ instance, you can add the following to a template file (for example, to the
 `article_infos.html` template file of the notmyidea theme), just before the
 infomation about the author:
 
-    :::html
-    {% if article.author_libravatar %}
-    <div align="center">
-            <img src="{{ article.author_libravatar }}">
-    </div>
-    {% endif %}
+```html
+{% if article.author_libravatar %}
+<div align="center">
+        <img src="{{ article.author_libravatar }}">
+</div>
+{% endif %}
+```
 
 ## Settings