markdown-dataset

0.1.0 • Public • Published

markdown-dataset

A large dataset of markdown files for testing markdown editors, parsers, renderers, and more.

Note: This dataset is generated from the READMEs of the top starred repositories on GitHub that have an MIT license. Links to the original sources and licenses are included in the dataset.

How to use this dataset

npm install --save-dev markdown-dataset
import testFiles from 'markdown-dataset'

const testStrings = testFiles.reduce((decodedStrings, { markdownEncoded, markdownEncoding }) => {
  if (markdownEncoding === 'base64') {
    decodedStrings.push(atob(markdownEncoded))
  }

  return decodedStrings
}, [])

Dependencies (0)

    Dev Dependencies (1)

    Package Sidebar

    Install

    npm i markdown-dataset

    Weekly Downloads

    0

    Version

    0.1.0

    License

    none

    Unpacked Size

    24.3 MB

    Total Files

    8

    Last publish

    Collaborators

    • davidmyersdev