update readme

This commit is contained in:
yggverse 2025-03-16 14:45:13 +02:00
parent bf4ac4bd27
commit 9d27cdfb49

View file

@ -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