定制 rah/php-textile-cli 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

rah/php-textile-cli

最新稳定版本:0.1.1

Composer 安装命令:

composer require rah/php-textile-cli

包简介

CLI for converting Textile markup to HTML

README 文档

README

Packagist Coverage Quality Gate Status

CLI application for parsing Textile markup using PHP-Textile library, written in PHP. Accepts Textile markup input and converts it into well-formed HTML.

Install

Using Composer:

$ composer require rah/php-textile-cli

Or download a textile.zip from the releases. The ZIP contains a packaged textile.phar, man pages and shell completion definitions for bash, fish and zsh.

Usage

$ textile [
  [-t|--document-type <type>]
  [-d|--document-root-directory <directory>]
  [-l|--lite]
  [-i|--no-images]
  [-L|--link-relationship <rel>]
  [-r|--restricted]
  [-U|--raw-blocks]
  [-A|--align-classes]
  [-a|--no-align-classes]
  [-b|--no-block-tags]
  [-w|--no-line-wrap]
  [-p|--image-prefix <url>]
  [-P|--link-prefix <url>]
  [-z|--no-dimensions]
  [-o|--output <file>]
] [--] [<file>]

Examples:

$ echo "h1. Textile markup" | vendor/bin/textile
$ vendor/bin/textile -o path/to/README.html path/to/README.textile
$ vendor/bin/textile --help

Development

See CONTRIBUTING.md.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-07-19