xatkit-runtime icon indicating copy to clipboard operation
xatkit-runtime copied to clipboard

A custom markdown parser for PostMessage* message values?

Open gdaniel opened this issue 5 years ago • 0 comments

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.

gdaniel avatar Jul 26 '19 00:07 gdaniel