flav-md
TypeScript icon, indicating that this package has built-in type declarations

0.3.3 • Public • Published

flavmd-logo

flav-md

Node.js CI

markdown parser with css style

About

How to use

install

You can install via npm with

npm install flav-md

import flav-md

load from file

CommonJS

const flavmd = require('flav-md');
const result = flavmd
  .createFlavMd()
  .readMdFile('example.md')
  .readCssFile('example.css')
  .build();

ES6 or TypeScript

import {createFlavMd} from 'flav-md';

const result = createFlavMd()
  .readMdFile('example.md')
  .readCssFile('example.css')
  .build();

load from text

CommonJS

const flavmd = require('flav-md');
const result = flavmd
  .createFlavMd()
  .readMdText('# hogehoge')
  .readCssText('.flav-md-h1 {color: red;}')
  .build();

ES6 or TypeScript

import {createFlavMd} from 'flav-md';

const result = createFlavMd()
  .readMdText('# hogehoge')
  .readCssText('.flav-md-h1 {color: red;}')
  .build();

Document

CSS class

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.3.3
    0
    • latest

Version History

Package Sidebar

Install

npm i flav-md

Weekly Downloads

0

Version

0.3.3

License

MIT

Unpacked Size

28.9 kB

Total Files

27

Last publish

Collaborators

  • jiko21