dev-aniketj / JSONToMarkdown-ReactJS

Convert JSON file to Markdown file

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

JSON to Markdown

It will automatically converts your JSON data into markdown code, but your have to make json file in the proper format.

DOCUMENTATION

How it is working ??

If you want to convert your JSON file then add the file into the src/data/your_file.json
Go to App.js and add new item in it OR just change the name of the file with is passed inside the createMarkdownFile() function.

<div className="item" onClick={() => createMarkdownFile("your_file_name")}>
  <h3>Title</h3>
  <h5>File Name</h5>
</div>

Installation

# Using npm
npm install --save json2md
# Using yarn
yarn add json2md

Run

# Using npm
npm start
# Using yarn
yarn start

Examples

File 1






NPM Packages

I am using React Js and this NPM Package json2md

About

Convert JSON file to Markdown file

License:Apache License 2.0


Languages

Language:JavaScript 45.0%Language:HTML 31.7%Language:CSS 23.3%