Skip to content

Instantly share code, notes, and snippets.

@LK64076007A
Created May 29, 2016 21:04
Show Gist options
  • Save LK64076007A/c9cf46c48edb9c51630af146f6dfd480 to your computer and use it in GitHub Desktop.
Save LK64076007A/c9cf46c48edb9c51630af146f6dfd480 to your computer and use it in GitHub Desktop.
Javascript for converting Markdown to HTML without line breaks using TextExpander
%snippet:marked.min.js% // import marked.min.js library
marked(TextExpander.pasteboardText).replace(/(\n)+/g, '');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment