Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

markdown parser with css style

Resources

License

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •