Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public inputRules({ type }: SchemaMarkTypeParams) {
return [markInputRule(/(?:\*\*|__)([^*_]+)(?:\*\*|__)$/, type)];
}
}
public inputRules({ type }: SchemaMarkTypeParams) {
return [markInputRule(/(?:^|[^*_])(?:\*|_)([^*_]+)(?:\*|_)$/, type)];
}
public inputRules({ type }: SchemaMarkTypeParams) {
return [markInputRule(/~([^~]+)~$/, type)];
}
public inputRules({ type }: SchemaMarkTypeParams) {
return [markInputRule(/(?:`)([^`]+)(?:`)$/, type)];
}
public inputRules({ type }: ExtensionManagerMarkTypeParams) {
return [markInputRule({ regexp: /(?:\*\*|__)([^*_]+)(?:\*\*|__)$/, type })];
}
}
public inputRules({ type }: ExtensionManagerMarkTypeParams) {
return [markInputRule({ regexp: /(?:`)([^`]+)(?:`)$/, type })];
}
public inputRules({ type }: ExtensionManagerMarkTypeParams) {
return [markInputRule({ regexp: /(?:^|[^*_])(?:\*|_)([^*_]+)(?:\*|_)$/, type })];
}
public inputRules({ type }: ExtensionManagerMarkTypeParams) {
return [markInputRule({ regexp: /~([^~]+)~$/, type })];
}