Browse Source

update readme

main
ghost 9 months ago
parent
commit
6f76488830
  1. 4
      README.md

4
README.md

@ -42,7 +42,7 @@ Convert DokuWiki text to Gemini markup
As wiki has lot of inline links, to make converted document well-readable, this method does not replace links with new line `=>` macros, but uses inline context: `Name ( URL )`. This model useful with `Reader::getLinks` method, that for example appends all those related links to the document footer. As wiki has lot of inline links, to make converted document well-readable, this method does not replace links with new line `=>` macros, but uses inline context: `Name ( URL )`. This model useful with `Reader::getLinks` method, that for example appends all those related links to the document footer.
If you don't like this implementation, feel free to change it by `Reader::setRule` method. If you don't like this implementation, feel free to change it by `Reader::setRule` method!
``` ```
echo $reader->toGemini( echo $reader->toGemini(
@ -64,6 +64,8 @@ echo $reader->getH1(
); );
``` ```
#### Reader::getLinks
### Filesystem ### Filesystem
Provides methods for simple and secure interaction with DokuWiki file storage Provides methods for simple and secure interaction with DokuWiki file storage

Loading…
Cancel
Save