@ionic-internal/markdown-blog

A simple markdown-driven blog used on the Capacitor and Appflow blogs.

Usage no npm install needed!

<script type="module">
  import ionicInternalMarkdownBlog from 'https://cdn.skypack.dev/@ionic-internal/markdown-blog';
</script>

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.