idleberg / vscode-badges

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

Home Page:https://marketplace.visualstudio.com/items?itemName=idleberg.badges

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

https://marketplace.visualstudio.com/items?itemName=idleberg.badges

License:MIT License


Languages

Language:JavaScript 100.0%