https://github.com/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.
https://github.com/yohn/cl-markdown-post-creator
cli command-line command-line-tool markdown markdown-creator
Last synced: 4 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/yohn/cl-markdown-post-creator
- Owner: Yohn
- License: mit
- Created: 2024-11-17T05:05:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-17T05:44:24.000Z (over 1 year ago)
- Last Synced: 2025-10-06T13:39:19.206Z (9 months ago)
- Topics: cli, command-line, command-line-tool, markdown, markdown-creator
- Language: PHP
- Homepage:
- Size: 107 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Command line 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.
## Install via Composer
```bash
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:
```php
$config = [
'timezone' => 'EST',
'blogDirectory' => 'content/blog',
'pageDirectory' => 'content/page',
'galleryDirectory' => 'content/gallery',
];
```
```bash
php vendor/bin/.yo-create
```
## To Specify Your Own Settings
```bash
php vendor/bin/.yo-create --config altConfig.php
```
## Frontmatter Example:
```yaml
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

### Creating a New Blog Post

### Created Markdown File
