fix: shikicodeblocks, betterroledot (#1895)
This commit is contained in:
parent
9eaeb24196
commit
a6b8b59d5c
3 changed files with 7 additions and 6 deletions
|
@ -38,6 +38,7 @@ export default definePlugin({
|
||||||
{
|
{
|
||||||
find: '"dot"===',
|
find: '"dot"===',
|
||||||
all: true,
|
all: true,
|
||||||
|
noWarn: true,
|
||||||
predicate: () => Settings.plugins.BetterRoleDot.bothStyles,
|
predicate: () => Settings.plugins.BetterRoleDot.bothStyles,
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /"(?:username|dot)"===\i(?!\.\i)/g,
|
match: /"(?:username|dot)"===\i(?!\.\i)/g,
|
||||||
|
|
|
@ -37,12 +37,12 @@ export default definePlugin({
|
||||||
authors: [Devs.Vap],
|
authors: [Devs.Vap],
|
||||||
patches: [
|
patches: [
|
||||||
{
|
{
|
||||||
find: "codeBlock:{react:function",
|
find: "codeBlock:{react(",
|
||||||
replacement: {
|
replacement: {
|
||||||
match: /codeBlock:\{react:function\((\i),(\i),(\i)\)\{/,
|
match: /codeBlock:\{react\((\i),(\i),(\i)\)\{/,
|
||||||
replace: "$&return $self.renderHighlighter($1,$2,$3);",
|
replace: "$&return $self.renderHighlighter($1,$2,$3);"
|
||||||
},
|
}
|
||||||
},
|
}
|
||||||
],
|
],
|
||||||
start: async () => {
|
start: async () => {
|
||||||
if (settings.store.useDevIcon !== DeviconSetting.Disabled)
|
if (settings.store.useDevIcon !== DeviconSetting.Disabled)
|
||||||
|
|
|
@ -325,7 +325,7 @@ export const Devs = /* #__PURE__*/ Object.freeze({
|
||||||
},
|
},
|
||||||
ImLvna: {
|
ImLvna: {
|
||||||
name: "Luna <3",
|
name: "Luna <3",
|
||||||
id: 174200708818665472n
|
id: 799319081723232267n
|
||||||
},
|
},
|
||||||
rad: {
|
rad: {
|
||||||
name: "rad",
|
name: "rad",
|
||||||
|
|
Loading…
Reference in a new issue