yohn/cl-markdown-post-creator 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

yohn/cl-markdown-post-creator

最新稳定版本:0.1.0

Composer 安装命令:

composer require 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.

README 文档

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

统计信息

  • 总下载量: 2
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-11-17