Add dtext to markdown for tickets and appeals

This commit is contained in:
Tarrgon
2026-06-03 08:01:59 -04:00
parent 5e5840ffdf
commit bafed23169
5 changed files with 103 additions and 4 deletions
+5
View File
@@ -0,0 +1,5 @@
import { formatMarkdown, parseDTextToAST } from '@clynamic/dmark';
export function dtextToMarkdown(dtext: string): string {
return formatMarkdown(parseDTextToAST(dtext)).output;
}