MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / applyTextStyle

Method applyTextStyle

autochangename/autochangename.ts:615–619  ·  view source on GitHub ↗
(text: string, style?: TextStyleMode)

Source from the content-addressed store, hash-verified

613 if (style === "mono") {
614 if (char >= '0' && char <= '9') return String.fromCodePoint(0x1D7F6 + (code - 0x30));
615 if (char >= 'A' && char <= 'Z') return String.fromCodePoint(0x1D670 + (code - 0x41));
616 if (char >= 'a' && char <= 'z') return String.fromCodePoint(0x1D68A + (code - 0x61));
617 return char;
618 }
619
620 if (style === "outline") {
621 if (char >= '0' && char <= '9') return String.fromCodePoint(0x1D7E2 + (code - 0x30));
622 if (char >= 'A' && char <= 'Z') return String.fromCodePoint(0x1D5A0 + (code - 0x41));

Callers 1

generateNewNameMethod · 0.95

Calls 1

stylizeCharMethod · 0.95

Tested by

no test coverage detected