yohn/cl-markdown-post-creator

A simple way to create a Markdown blog, page, or gallery post in markdown format with the yaml frontmatter, and a basic start for your next new post.

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/yohn/cl-markdown-post-creator

0.1.0 2024-11-17 05:05 UTC

This package is auto-updated.

Last update: 2025-09-17 07:21:08 UTC


README

A simple way to create a Markdown blog, page, or gallery post in markdown format with the yaml frontmatter, and a basic start for your next new post.

Install via Composer

composer require yohn/cl-markdown-post-creator

Create a new blog, page, or gallery

I will will need to work on the gallery some more

Default Settings:

$config = [
		'timezone' => 'EST',
		'blogDirectory' => 'content/blog',
		'pageDirectory' => 'content/page',
		'galleryDirectory' => 'content/gallery',
	];
php vendor/bin/.yo-create

To Specify Your Own Settings

php vendor/bin/.yo-create --config altConfig.php

Frontmatter Example:

created: 'YYY-MM-DD HH:MM:SS'
title: 'The Title'
description: 'Some description of the page. Used for meta information.'
tags:
    - multiple
    - tags
    - like
    - this
draft: true
thumbnail: ''

Creating a New Page

CLI

Creating a New Blog Post

CLI2

Created Markdown File

CreatedMarkdownFile.png