UNPKG

taraskevizer

Version:

Канвэртацыя акадэмічнага правапісу ў клясычны

37 lines (26 loc) 709 B
import { alphabets } from './dict/index.js'; import { html } from './wrappers.js'; export class TaraskConfig { constructor(options) { for (const key in options) { const value = options[key]; if (key in this && value !== undefined) this[key] = value; } } abc = alphabets.cyrillic; j = 'never'; doEscapeCapitalized = true; wrappers = null; g = true; variations = 'all'; newLine = '\n'; leftAngleBracket = '<'; noFixPlaceholder = ' \ue0fe '; } export const htmlConfigOptions = { wrappers: html, g: false, newLine: '<br>', leftAngleBracket: '&lt', };