承接 wrote/gmi2md 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

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
  • 点击次数: 3
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2024-11-03