/vscode-badges

Snippets to quickly insert Shield.io badges into HTML, Markdown, reStructuredText or Textile documents

Primary LanguageJavaScriptMIT LicenseMIT

Badges for Visual Studio Code

The MIT License GitHub Visual Studio Marketplace Travis David

Snippets to quickly insert Shield.io badges into HTML, Markdown, reStructuredText or Textile documents — like those you can see above.

This package is also available for Atom and Sublime Text.

Screenshot

Badge snippets in action (screenshot nicked from the Atom package, sorry!)

Installation

Extension Marketplace

Launch Quick Open, paste the following command, and press Enter

ext install badges

Packaged Extension

Download the package extension from the the release page and install it from the command-line:

$ code --install-extension badges-*.vsix

Clone Repository

Change to your Visual Studio Code extensions directory:

# Windows
$ cd %USERPROFILE%\.vscode\extensions

# Linux & macOS
$ cd ~/.vscode/extensions/

Clone repository as badges:

$ git clone https://github.com/idleberg/vscode-badges badges

Usage

All snippets start with the prefix svg- and is followed by the service you're adressing, with some services offering multiple choices.

Examples:

  • svg-pypi-dl-day - daily downloads on PyPI
  • svg-pypi-dl-month - monthly downloads on PyPI
  • svg-travis - build status on Travis
  • svg-travis-branch - build status on Travis for a specific branch
  • svg-npm-ver - the version of a Node package
  • svg-gpl3 - link to GNU General Public License, Version 3

Please refer to the snippet guide for a complete list.

License

This work is licensed under The MIT License

Donate

You are welcome support this project using Flattr or Bitcoin 17CXJuPsmhuTzFV2k4RKYwpEHVjskJktRd