Skip to content

Instantly share code, notes, and snippets.

@aviflax
Created September 23, 2020 22:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aviflax/d012961844f7e89eea90cf2c5e7e054a to your computer and use it in GitHub Desktop.
Save aviflax/d012961844f7e89eea90cf2c5e7e054a to your computer and use it in GitHub Desktop.
#!/usr/bin/env node
const slackifyMarkdown = require('slackify-markdown');
const fs = require('fs');
const markdown = fs.readFileSync(0, 'utf-8');
const slacked = slackifyMarkdown(markdown);
console.log(slacked);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment