slack-markdown icon indicating copy to clipboard operation
slack-markdown copied to clipboard

toSlack

Open eybarta opened this issue 2 years ago • 1 comments

Is there a way with this plugin to parse the other way also? from HTML to Slack markdown?

thx for your work!

eybarta avatar Mar 28 '22 09:03 eybarta

Heya! This package got developed to translate slack messages into matrix' html subset for bridging - and the bridge also translates the html subset that matrix uses back into slack markdown. While that is a specific markdown flavour, it might support everything you need. For that is the package matrix-slack-parser, please note that it takes matrix-formatted messages. you could trick it and quickly compile your own objects for that, or thelike, though.

EDIT: totally forgot that it also does slacks undocumented formatting blocks which bots and thelike can use, too

Sorunome avatar Mar 28 '22 11:03 Sorunome