mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
implement copy link text, selected text, add link to the bookmarks (context menu) items; group menu items
This commit is contained in:
parent
c95cb6e756
commit
bb08b7cb9a
7 changed files with 295 additions and 77 deletions
|
|
@ -357,8 +357,8 @@ fn handle(
|
|||
page.content.to_text_source(data)
|
||||
} else {
|
||||
match m.as_str() {
|
||||
"text/gemini" => page.content.to_text_gemini(&uri, data),
|
||||
"text/markdown" => page.content.to_text_markdown(&uri, data),
|
||||
"text/gemini" => page.content.to_text_gemini(&page.profile, &uri, data),
|
||||
"text/markdown" => page.content.to_text_markdown(&page.profile, &uri, data),
|
||||
"text/plain" => page.content.to_text_plain(data),
|
||||
_ => panic!() // unexpected
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue