xatkit-runtime
xatkit-runtime copied to clipboard
A custom markdown parser for PostMessage* message values?
We just integrated (Itemize|Enumerate)List
actions for Slack and React, but it looks like a quick fix and not a portable solution.
The main issue is that every platform has its own way to display information: for example Slack displays links with the pattern: <title|url>
, while the React platform uses [title](url)
.
The idea would be to support markdown (which nuance of it is yet to be discussed) and have a parser that will compile it into the concrete syntax of the platform sending the message.
Concretely this would add a class/method in all the ChatPlatform*
responsible of the custom markdown parsing.
This would increase the portability of the execution language, especially with the ChatPlatform
, but it is also a complex task that may take some time.