ref: Little refactoring

This commit is contained in:
Maksim Eltyshev
2025-06-06 12:34:09 +02:00
parent 585464eef3
commit 63de346b0e
8 changed files with 42 additions and 28 deletions
@@ -3,7 +3,7 @@
* Licensed under the Fair Use License: https://github.com/plankanban/planka/blob/master/LICENSE.md
*/
const MENTION_REGEX = /@\[(.*?)\]\((.*?)\)/g;
import { MENTION_REGEX } from '../../utils/mentions';
export default (md) => {
md.core.ruler.push('mention', ({ tokens }) => {