Skip to content

Simple web tools that convert Slack messages into HTML, markdown and plain text.

License

Notifications You must be signed in to change notification settings

NO-Product/convertslack-to

Repository files navigation

Convert Slack to Markdown

This is a simple web app that converts Slack messages into clean HTML, markdown, or plain text.

How to Use

  1. Clone this repository to your local machine.
  2. Open index.html in your web browser.
  3. Paste your Slack message into the input box.
  4. Click the button corresponding to the format you want to convert to (HTML, markdown, or plain text).
  5. The converted message will appear in the output box.

Deployment

  1. Run npm install to install the necessary dependencies.
  2. Run npm run build to build your project. This will create a dist directory with your bundled files.
  3. Upload the dist directory to your web server.

Development Notes

  • Summernote requires Bootstrap 3.4.1 in addition to jQuery 3.5.1.
  • emoji.json file is defined on https://raw.githubusercontent.com/iamcal/emoji-data/master/emoji.json.
  • The application now supports the conversion of Slack emojis to Unicode.
  • Code blocks in the input are now correctly converted to Markdown.
  • The application now removes Markdown image syntax from emojis.

.gitignore

A .gitignore file is included in the project. This file is used to tell git which files (or patterns) it should ignore. It's important to set up a .gitignore file before you start adding files into your repository.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.