mirror of
https://github.com/YGGverse/ggemtext.git
synced 2026-03-31 17:15:33 +00:00
update readme
This commit is contained in:
parent
bf4ac4bd27
commit
9d27cdfb49
1 changed files with 10 additions and 0 deletions
10
README.md
10
README.md
|
|
@ -132,6 +132,8 @@ assert_eq!("Item".to_source(), "* Item")
|
||||||
|
|
||||||
#### Quote
|
#### Quote
|
||||||
|
|
||||||
|
##### Struct
|
||||||
|
|
||||||
``` rust
|
``` rust
|
||||||
match Quote::from("> Quote") {
|
match Quote::from("> Quote") {
|
||||||
Some(quote) => assert_eq!(quote.value, "Quote"),
|
Some(quote) => assert_eq!(quote.value, "Quote"),
|
||||||
|
|
@ -139,6 +141,14 @@ match Quote::from("> Quote") {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
##### Trait
|
||||||
|
|
||||||
|
``` rust
|
||||||
|
use ggemtext::line::quote::Gemtext;
|
||||||
|
assert_eq!("> Quote".as_value(), Some("Quote"))
|
||||||
|
assert_eq!("Quote".to_source(), "> Quote")
|
||||||
|
```
|
||||||
|
|
||||||
## Integrations
|
## Integrations
|
||||||
|
|
||||||
* [Yoda](https://github.com/YGGverse/Yoda) - Browser for Gemini Protocol
|
* [Yoda](https://github.com/YGGverse/Yoda) - Browser for Gemini Protocol
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue