From af8fd24068098331c7d5333e00d1511b157e94f0 Mon Sep 17 00:00:00 2001 From: Mariatta Date: Fri, 15 Jun 2018 15:12:16 -0700 Subject: [PATCH] Add code snippet for using black badge in .rst (#356) --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 11c3d44..0d0c788 100644 --- 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) -- 2.39.5