mirror of
https://github.com/YGGverse/gemtext-php.git
synced 2026-03-31 09:45:33 +00:00
update readme
This commit is contained in:
parent
a14eb206a8
commit
566fbd2f4b
1 changed files with 3 additions and 3 deletions
|
|
@ -10,7 +10,7 @@ This library is lightweight, object-oriented [Gemtext](https://geminiprotocol.ne
|
|||
composer require yggverse/gemtext:dev-main
|
||||
```
|
||||
|
||||
## Examples
|
||||
## Example
|
||||
|
||||
### Parse existing document
|
||||
|
||||
|
|
@ -56,12 +56,12 @@ $link->setDate(
|
|||
date('Y-m-d')
|
||||
);
|
||||
|
||||
// Append link to document
|
||||
// Append link
|
||||
$document->append(
|
||||
$link
|
||||
);
|
||||
|
||||
// Get gemtext result
|
||||
// Get gemtext
|
||||
print(
|
||||
$document->toString()
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue