wrote/gmi2md
最新稳定版本:0.0.4
Composer 安装命令:
composer require wrote/gmi2md
包简介
Gemtext to markdown converter.
README 文档
README
This is a minimal gemtext to markdown converter.
Gemtext is already close markdown, and gemtext is mostly valid markdown out of the box. The biggest difference is the link format. These are valid gemtext links:
=> https://sourcehut.org/
=> https://duck.com DuckDuckGo
=>/home My homepage
These would be converted to the following markdown:
* [https://sourcehut.org](https://sourcehut.org)
* [DuckDuckGo](https://duck.com)
* [My homepage](/home)
Everything else in gemtext is also valid markdown and is left untouched.
Installation
tbd
Usage
<?php
use Wrote\Gmi2md;
$gmi = "=> https://sourcehut.org/ Sourcehut homepage";
$md = Gmi2md::convert($gmi); // [Sourcehut homepage](https://sourcehut.org/)
统计信息
- 总下载量: 39
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2024-11-03