diff --git a/.gitignore b/.gitignore index 0f6acf7..26d71ec 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ node_modules build/ .env *.log +testing/ diff --git a/README.md b/README.md index 3d39668..09e06c8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,12 @@ # HEML +
+ Guide • + Documentation • + Editor +
+ + HEML is an open source markup language for building responsive email. - **Native Feel:** Do you know HTML and CSS? Check out our docs and you're off to the races! No special rules or styling paradigms to master. @@ -9,58 +16,24 @@ HEML is an open source markup language for building responsive email. - **Extendable:** You can create your own powerful elements and style rules. Share them with the world, or keep em to yourself. Your choice. -##### [Try it out!](https://heml.io/editor) - - -## Table of Contents -* [Getting Started](https://heml.io/docs/getting-started) -* [Email Structure](https://heml.io/docs/email-structure) -* [Styling](https://heml.io/docs/styling) -* [Elements](https://heml.io/docs/elements) - +## FAQ -## Code with HEML +### Why should I use HEML? -To use HEML in your node project, install it with: +It makes building emails easier. -```sh -npm install heml --save -``` +### How do I use it? -In your code, pull the package in. It takes two parameters: the HEML you want to convert and any custom options you have defined. Once finished, HEML will return a Promise with an object containing the generated HTML and any metadata collected. If `validate` is set to `soft`, an array of any errors will also be included. +Check out our [usage guide](http://heml.io/docs/getting-started/usage). -```js -const HEML = require('heml') +### What do I if I found a bug? -HEML(` -