badge-urls
Version:
Helper functions to generate URLs for all badges / shields from shields.io
7 lines (6 loc) • 664 B
JavaScript
// This file was auto-generated. Do not modify it by hand and instead modify the scraper or code generator files.
import { urlWithOptions } from "../../options";
/** Label for W3C Validation (/w3c-validation/:parser?preset=HTML%2C%20SVG%201.1%2C%20MathML%203.0&targetUrl=https%3A%2F%2Fvalidator.nu%2F) */
export const label = `W3C Validation`;
/** URL for W3C Validation (/w3c-validation/:parser?preset=HTML%2C%20SVG%201.1%2C%20MathML%203.0&targetUrl=https%3A%2F%2Fvalidator.nu%2F) */
export const url = (parser, options) => urlWithOptions(`/w3c-validation/${parser}?preset=HTML%2C%20SVG%201.1%2C%20MathML%203.0&targetUrl=https%3A%2F%2Fvalidator.nu%2F`, options);