Skip to content

jiko21/flav-md

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
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

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •