1.0.0-1 • Published 7 years ago

mdope v1.0.0-1

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

mdope

A markdown to project page converter

Build Status Coverage GitHub

npm install mdope

Usage

mdope README.md > index.html

“Shit is dope!”

  • Anonymous

Examples

Using the html language type will render an HTML example

<div class='p3'>
  <h1 class='h1 blue'>Hello!</h1>
</div>

Using the js language type will render an example and run the included script.

console.log('hello');
APP.innerHTML = 'Hello there';

// prose options
{
  font: '',
  lineHeight: '',
  colors: {
    text: '',
    background: '',
    link: '',
    border: '',
  },
  fontSizes: [
    12, 14, 16, 20, 24, 32
  ],
  space: [
    0, 8, 16, 32
  ],
  measure: 48 // em
}

MIT License