Mailspring/internal_packages/composer-markdown
Ben Gotow 18d294c42f feat(transforms): Replace regexp body transforms with DOM approach
Summary:
We originally didn't do this because creating a DOM tree was loading images.
Using range.createContextualFragment seems to do it without the tree ever
being attached.

Accompanying changes to src/pro are here:
https://phab.nylas.com/D3300
https://github.com/nylas/edgehill/compare/bengotow/draft-dom-transformations?expand=1

Also rename applyTransformsToDraft => applyTransformsForSending. Needed
a new name because the function signature has changed. AFAIK there are no
open source plugins using the old functions.

Test Plan: All specs updated

Reviewers: evan, juan

Reviewed By: evan, juan

Differential Revision: https://phab.nylas.com/D3299
2016-09-23 16:36:08 -07:00
..
assets feat(markdown): Add Markdown composer 2016-08-30 19:23:01 -07:00
lib feat(transforms): Replace regexp body transforms with DOM approach 2016-09-23 16:36:08 -07:00
stylesheets fix(markdown): Update editor height 2016-09-01 20:21:13 -07:00
icon.png feat(markdown): Add Markdown composer 2016-08-30 19:23:01 -07:00
package.json fix(markdown): Fix textarea bug (use our fork of simplemde) 2016-09-01 19:43:10 -07:00
README.md feat(markdown): Add Markdown composer 2016-08-30 19:23:01 -07:00

N1 Markdown Composer

A plugin for N1 that allows you to compose emails using markdown.

Markdown Screenshot Editor Markdown Screenshot Preview

Install this plugin:

  1. Download and run N1

  2. Clone this repository (Make sure you have git installed and available in your system path)

  3. From the menu, select Developer > Install a Package Manually... From the dialog, choose the directory of this plugin to install it!

    When you install packages, they're moved to ~/.nylas/packages, and N1 runs apm install on the command line to fetch dependencies listed in the package's package.json

Usage

Just write emails using markdown.