Skip to content

LLazyEmail/markup-generator

Repository files navigation

markup-generator module

yarn add markup-generator

It's just an HTML file generator

Main reason - we want to generate an HTML email newsletter automatically, so generator must have methods that can help you to save a file.

Submodule for https://github.com/atherdon/markdown-to-email

import { writeHTML, generateTemplateName } from 'markup-generator'

const content = '<html></html>'; // long html template stored in this variable
const fileName = generateTemplateName('prefix-for-your-generated-file');

writeHTML(fileName, content);

TODO

Arthur Tkachenko articles

About

module for writing content into files

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 5