Skip to content
This repository has been archived by the owner on Jun 26, 2022. It is now read-only.
/ vscode-badges Public archive

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

License

Notifications You must be signed in to change notification settings

idleberg/vscode-badges

Repository files navigation

Badges for Visual Studio Code

The MIT License GitHub Visual Studio Marketplace CircleCI 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 idleberg.badges

CLI

With shell commands installed, you can use the following command to install the extension:

$ code --install-extension idleberg.badges

Packaged Extension

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

$ code --install-extension path/to/badges-*.vsix

Alternatively, you can download the packaged extension from the Open VSX Registry or install it using the ovsx command-line tool:

$ ovsx get idleberg.badges

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

Note: By default, the quick suggestions are disabled for Markdown files. You can enable them by setting editor.quickSuggestions to true.

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •