Skip to content

renisalcedo/markdown-previewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

markdown-previewer

Description

A simple, Super Lightweight markdown previewer. It receives a file and converts the markdown content to html.

Getting Started

yarn add markdown-previewer
const Preview = require('markdown-previewer')

const preview = new Preview // Creates new instance for Preview
const file = process.argv[2] // Name of the file to convert

const html = preview.htmlContent(file) // html content of markdown

console.log(html)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published