hametuha/indesign-tagged-text
Composer 安装命令:
composer require hametuha/indesign-tagged-text
包简介
A text converter for InDesign.
README 文档
README
Text converter to create a tagged text for InDesign from UTF-8 text file. Markdown ready.
Installation
Install with composer.
composer require hametuha/indesign-tagged-text
Usage
Integration
// Load composer.
require_once __DIR__ . '/vendor/autoload.php';
// Make Instance.
$converter = new Hametuha\InDesignTaggedText( 'Mac', 'UNICODE' );
// Load contents from string.
// 2nd argument is markdown or not.
$converter->convert( 'path/to/manuscript.md', true );
// Export as a string.
// If argument is set "true",
// the content will be converted to new text encoding(e.g. UTF-16Be)
$tagged_text = $converter->export( true );
From CLI
W.I.P.
Supported Styles
W.I.P.
Licens
MIT.
统计信息
- 总下载量: 29
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-10-15