@ionic-internal/markdown-blog
v1.0.10
Published
A simple markdown-driven blog used on the Capacitor and Appflow blogs.
Downloads
15
Readme
Markdown Blog
A simple markdown-driven blog used on the Capacitor and Appflow blogs.
Usage
npm install @ionic-internal/markdown-blog
Add to scripts
in package.json
:
"blog": "blog"
Then run npm run blog
.
This will load all the blog posts in blog/
and generate src/assets/blog.json
containing a JSON blob of the generated blog posts
If you wish to customize the input and output, the command would look like:
"blog": "blog src/assets/md src/assets/blog.json"
The first argument is the input folder path and the second argument is the output path including the file name.