link-styler
Version:
JavaScript package that simplifies the task of identifying links within text and applying custom styling by automatically replacing them with tags.
34 lines (33 loc) • 771 B
JavaScript
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DefaultSetting = void 0;
exports.DefaultSetting = {
bg: true,
bgColor: '#a9a9a94f',
textColor: '#000000d9',
borderRadius: 15,
showIcon: true,
iconColor: true,
underline: false,
link: {
pathnameLengthLimit: 20,
},
atsign: {
enable: true,
path: '',
bg: false,
textColor: '#e31a1ad9',
showIcon: false,
underline: true,
removeAtsignChar: false,
},
hashTag: {
enable: true,
path: '',
bg: false,
textColor: '#0250ffd9',
showIcon: false,
underline: false,
removeHashTagChar: false,
},
};