Skip to content

dev-aniketj/JSONToMarkdown-ReactJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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