Skip to content

amishdev/json-markdown-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

json-markdown-loader

This is intended to be used with amish-yaml-loader. If you want to load in Yaml files and parse markdown please refer to those documents. If you want to use this in json files keep reading.

install

install json markdown loader npm install json-markdown-loader --save-dev or yarn add json-markdown-loader -D

Webpack config

module: {
        rules: [
            {
                test: /\.ya?ml$/,
                use: ['json-loader', 'json-markdown-loader'],
            },
        ],
    }

Json

{
  "content": {
    "type": "markdown",
    "content": "##heading \n paragraph \n - list item \n - list item 2"
  }
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published