lunify.js
Version:
A basic api wrapper for the spotify api covering the oauth routes.
15 lines (14 loc) • 580 B
TypeScript
import { Artist, PartialArtist } from '../structures';
/**
* Converts an array of artists to markdown
* @param artists - An array of partial artists to convert to markdown
* @param max - How many artists to show before showing the remaining count
* @returns Markdown string
*/
export declare function aristsToMarkdown(artists: (PartialArtist | Artist)[], max?: number): string;
/**
* Escapes some common markdown characters in a string
* @param input - The input string
* @returns Markdown escaped string
*/
export declare function escapeMarkdown(input: string): string;