]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Add code snippet for using black badge in .rst (#356)
authorMariatta <Mariatta@users.noreply.github.com>
Fri, 15 Jun 2018 22:12:16 +0000 (15:12 -0700)
committerŁukasz Langa <lukasz@langa.pl>
Fri, 15 Jun 2018 22:12:16 +0000 (15:12 -0700)
README.md

index 11c3d44e97602cba8184f1a19726c22fb52e72ef..0d0c78842b99b4856ba9eb07e2fb47d0fb33da8c 100644 (file)
--- a/README.md
+++ b/README.md
@@ -780,6 +780,12 @@ Use the badge in your project's README.md:
 [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
 ```
 
+Using the badge in README.rst:
+```
+.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
+    :target: https://github.com/ambv/black
+```    
+
 Looks like this: [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)