darkamenosa
a6711afdc2
feat(zalouser): add markdown-to-Zalo text style parsing (#43324)
* feat(zalouser): add markdown-to-Zalo text style parsing
Parse markdown formatting (bold, italic, strikethrough, headings, lists,
code blocks, blockquotes, custom color/style tags) into Zalo native
TextStyle ranges so outbound messages render with rich formatting.
- Add text-styles.ts with parseZalouserTextStyles() converter
- Wire markdown mode into send pipeline (sendMessageZalouser)
- Export TextStyle enum and Style type from zca-client
- Add textMode/textStyles to ZaloSendOptions
- Pass textStyles through sendZaloTextMessage to zca-js API
- Enable textMode:"markdown" in outbound sendText/sendMedia and monitor
- Add comprehensive tests for parsing, send, and channel integration
* fix(zalouser): harden markdown text parsing
* fix(zalouser): mirror zca-js text style types
* fix(zalouser): support tilde fenced code blocks
* fix(zalouser): handle quoted fenced code blocks
* fix(zalouser): preserve literal quote lines in code fences
* fix(zalouser): support indented quoted fences
* fix(zalouser): preserve quoted markdown blocks
* fix(zalouser): rechunk formatted messages
* fix(zalouser): preserve markdown structure across chunks
* fix(zalouser): honor chunk limits and CRLF fences
2026-03-12 16:24:15 +07:00
..
2026-03-12 04:01:57 +00:00
2026-03-12 03:22:57 -04:00
2026-03-12 04:01:57 +00:00
2026-03-04 02:35:12 -05:00
2026-03-12 04:01:57 +00:00
2026-03-12 04:01:57 +00:00
2026-03-12 04:01:57 +00:00
2026-03-12 04:01:57 +00:00
2026-03-12 04:01:57 +00:00
2026-03-12 04:01:57 +00:00
2026-03-12 04:01:57 +00:00
2026-03-12 04:01:57 +00:00
2026-03-12 04:01:57 +00:00
2026-03-12 19:21:35 +11:00
2026-03-12 04:01:57 +00:00
2026-03-12 04:01:57 +00:00
2026-03-12 03:15:17 -04:00
2026-03-12 04:01:57 +00:00
2026-03-12 04:01:57 +00:00
2026-03-12 04:01:57 +00:00
2026-03-12 04:01:57 +00:00
2026-03-12 04:01:57 +00:00
2026-03-12 04:01:57 +00:00
2026-03-12 04:01:57 +00:00
2026-03-06 05:31:59 -08:00
2026-03-07 10:41:05 +00:00
2026-03-01 23:57:06 +00:00
2026-03-12 04:01:57 +00:00
2026-03-12 04:01:57 +00:00
2026-03-12 04:01:57 +00:00
2026-03-07 21:59:44 +00:00
2026-03-12 04:01:57 +00:00
2026-03-09 16:07:26 -07:00
2026-03-04 02:35:13 -05:00
2026-03-12 04:01:57 +00:00
2026-03-12 04:01:57 +00:00
2026-03-12 04:01:57 +00:00
2026-03-12 04:01:57 +00:00
2026-03-12 04:01:57 +00:00
2026-03-12 16:24:15 +07:00