November's Paddleball Marathon

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

    0.2.1 • 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

    Keywords

    Install

    npm i flav-md

    DownloadsWeekly Downloads

    18

    Version

    0.2.1

    License

    MIT

    Unpacked Size

    28.8 kB

    Total Files

    27

    Last publish

    Collaborators

    • jiko21