mirror of
https://github.com/stracker-phil/obsidian-mention-things.git
synced 2026-07-22 05:43:27 +00:00
20 lines
519 B
TypeScript
20 lines
519 B
TypeScript
import { MentionSettings } from './types';
|
|
|
|
/**
|
|
* Default plugin settings
|
|
*/
|
|
export const DEFAULT_SETTINGS: MentionSettings = {
|
|
mentionTypes: [],
|
|
matchStart: true,
|
|
maxMatchLength: 15,
|
|
stopCharacters: '?!;:"\'`/#*%<>[]()',
|
|
};
|
|
|
|
/**
|
|
* List of allowed signs for mentions
|
|
*
|
|
* Forbidden on Windows: " * : < > ? \ / |
|
|
* Conflict with Obsidian: [ ] ( ) | # % `
|
|
*/
|
|
export const ALLOWED_SIGNS_STRING = "@!+$&~-_=,;'{}^§★→¶°€£¥¢±µ©™®«»";
|
|
export const ALLOWED_SIGNS = ALLOWED_SIGNS_STRING.split('');
|