From 9cf0fcdf8b3bf724025f6935d38f46d1450235ab Mon Sep 17 00:00:00 2001 From: Graeme A Stewart Date: Thu, 27 Feb 2025 11:15:17 +0100 Subject: [PATCH] Add copyable markdown badge snippet --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c276990..1a86987 100644 --- a/README.md +++ b/README.md @@ -72,7 +72,13 @@ path](https://github.com/dieghernan/cff-validator/tree/main/.github/workflows). ## Add a badge to your repo You can easily create a badge showing the current status of validation of your -`CITATION.cff` like this: +`CITATION.cff` by adding this snippet to your repository's `README.md`: + +```markdown +[![CITATION-cff](https://github.com/dieghernan/cff-validator/actions/workflows/cff-validator.yml/badge.svg)](https://github.com/dieghernan/cff-validator/actions/workflows/cff-validator.yml) +``` + +which will then display: [![CITATION.cff](https://github.com/dieghernan/cff-validator/actions/workflows/cff-validator.yml/badge.svg)](https://github.com/dieghernan/cff-validator/actions/workflows/cff-validator.yml)