Compare commits

...

5 commits
1.0.1 ... main

Author SHA1 Message Date
yggverse
472e588bf3 update readme 2024-07-08 05:54:43 +03:00
yggverse
58f33defaa update readme 2024-07-08 05:53:15 +03:00
yggverse
fec140c2e3 update readme 2024-07-08 05:52:05 +03:00
yggverse
bf52a58fbd update readme 2024-07-08 05:50:45 +03:00
yggverse
e0b496a7ae fix multiline code expression 2024-07-07 02:56:24 +03:00
2 changed files with 10 additions and 3 deletions

View file

@ -1,8 +1,15 @@
# gemtext-php # gemtext-php
PHP 8 library for `text/gemini` Lightweight, object-oriented PHP 8 library for [Gemtext](https://geminiprotocol.net/docs/gemtext.gmi) markup
This library is lightweight, object-oriented [Gemtext](https://geminiprotocol.net/docs/gemtext.gmi) replacement to [gemini-php](https://github.com/YGGverse/gemini-php) ## See also
* [gemini-php](https://github.com/YGGverse/gemini-php) - PHP 8 Client library for Gemini protocol connections
## Integrations
* [gemini-dl](https://github.com/YGGverse/gemini-dl) - CLI batch downloader for Gemini protocol
* [Yoda](https://github.com/YGGverse/Yoda) - PHP-GTK Browser for Gemini protocol
## Install ## Install

View file

@ -26,7 +26,7 @@ class Code implements \Yggverse\Gemtext\Interface\Parser
// Multiline with optional alt support // Multiline with optional alt support
case preg_match( case preg_match(
'/^(?<tag>[`]{3})(?<alt>[^`]+)$/m', '/^(?<tag>[`]{3})(?<alt>[^`]*)$/m',
$line, $line,
$matches $matches
): ):