Create Markdown Post for blog and website using Mustache Template System.
Don't use this Directly - Fork this repo and Modify according to your Needs also not Recommended for Production use.
git clone https://github.com/mskian/create-markdown-post.git
cd create-markdown-post
yarn
yarn dev
yarn start
http://localhost:3005/api
config.js
filehttp://localhost:3005/api?title=This%20is%20Example%20Post%20title&description=This%20is%20Example%20Post%20Meta%20Description%20-%20post%20via%20HTTP%20Client%20via%20API.&postcontent=This%20is%20Example%20Post%20Meta%20Description%20-%20post%20via%20HTTP%20Client%20via%20API.&tag=Test
if you want to update HTTP auth username find this line users: { 'admin':sitedata.password },
in index.js
- Default username admin
and password 123456789
Post via Javascript Markdown Editor - refer: https://github.com/mskian/svelte-markdown-editor - Example: /views/editor.hbs
http://localhost:3005/markdown
index.js
config.json
template.md
---
title: "{{title}}"
date: {{date}}
description: "{{description}}"
tags:
- "{{tag}}"
slug: "{{seo_url}}"
---
{{postcontent}}
MIT