UNPKG

warframe-worldstate-parser

Version:

An Open parser for Warframe's Worldstate in Javascript

31 lines (30 loc) 1.26 kB
/** * A collection of strings that are used by the parser to produce markdown-formatted text * @property {string} lineEnd - Line return character * @property {string} blockEnd - Block end string * @property {string} doubleReturn - Double line return string * @property {string} linkBegin - Link begin string * @property {string} linkMid - Link middle string * @property {string} linkEnd - Link end string * @property {string} bold - String for denoting bold text * @property {string} italic - String for denoting italicized text * @property {string} underline - String for denoting underlined text * @property {string} strike - String for denoting striked-through text * @property {string} codeLine - String for denoting in-line code * @property {string} codeBlock - String for denoting multi-line code blocks */ export default class MarkdownSettings { static lineEnd = '\n'; static blockEnd = '\n```'; static doubleReturn = '\n\n'; static linkBegin = '['; static linkMid = ']('; static linkEnd = ')'; static bold = '**'; static italic = '*'; static underline = '__'; static strike = '~~'; static codeLine = '`'; static codeBlock = '```'; static spoiler = '||'; }