mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-22 14:05:13 +00:00
6 lines
369 B
TypeScript
6 lines
369 B
TypeScript
import { createNode } from '../built/mfm-node';
|
|
|
|
export const TEXT = (value: string) => createNode('text', { text: value });
|
|
export const EMOJI = (name: string) => createNode('emoji', { name: name });
|
|
export const UNI_EMOJI = (value: string) => createNode('emoji', { emoji: value });
|
|
export const HASHTAG = (value: string) => createNode('hashtag', { hashtag: value });
|