浏览代码

Use fenced code blocks

Rafael Laboissiere 9 年之前
父节点
当前提交
17f1d318da
共有 1 个文件被更改,包括 13 次插入10 次删除
  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