UNPKG

mdexam

Version:

Exam questions/answers/checkers written in markdown

54 lines (31 loc) 1.39 kB
# MdExam &middot; [![CircleCI Status](https://circleci.com/gh/facebook/react.svg?style=shield&circle-token=:circle-token)](https://circleci.com/gh/facebook/react) [![Build Status](https://img.shields.io/travis/facebook/react/master.svg?style=flat)](https://travis-ci.org/facebook/react) [![Coverage Status](https://img.shields.io/coveralls/facebook/react/master.svg?style=flat)](https://coveralls.io/github/facebook/react?branch=master) [![npm version](https://img.shields.io/npm/v/react.svg?style=flat)](https://www.npmjs.com/package/react) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md#pull-requests) Exam questions/answers/checkers written in markdown. * <b>Question</b> * <b>Answer</b> * <b>Checker</b> ## Intro Related packages are: * []() ## Examples ## Usage ### Install: $ npm install mdexam ### CLI Convert markdown to json file: node bin/mdexam -m <markdown> -o <output.json> Convert json to markdown file: node bin/mdexam -j <json> -o <markdown.md> ### As Nodejs Lib var mdexam = require('mdexam'); console.log(mdexam.m2j('path/exam.md'); console.log(mdexam.m2h('path/exam.md', options); #### m2h options options: { key: value } <b><i>key</i></b> includes: ## Stay In Touch - Slack - Trello ## License