Slack Conversation to Markdown Converter
include reactions. Use headings for author names. Format timestamps via .
Sometimes I like to add a conversation to my notes or archive it for later. Anyone who's tried to paste a slack conversation into a text field knows how bad the default format is.
This utility is fully client-side, no data is sent off of the page.
The converter works by taking advantage of rich-text copy-and-paste, which Javascript supports.
The slack desktop client supports retrieving the paste in text/html
format, which we parse and then use to construct the markdown representation.
That does mean that the implementation is pretty brittle to changes to Slack's HTML details.