mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 08:35:28 +00:00
test ggemtext, ggemini version
This commit is contained in:
parent
3232558eee
commit
e671a7acd3
2 changed files with 5 additions and 7 deletions
|
|
@ -31,8 +31,8 @@ version = "0.9.1"
|
|||
[dependencies]
|
||||
ansi-parser = "0.9.1"
|
||||
anyhow = "1.0.97"
|
||||
ggemini = "0.17.0"
|
||||
ggemtext = "0.3.2"
|
||||
ggemini = "0.17.1"
|
||||
ggemtext = "0.4.0"
|
||||
indexmap = "2.7.0"
|
||||
itertools = "0.14.0"
|
||||
libspelling = "0.3.0"
|
||||
|
|
@ -44,6 +44,6 @@ syntect = "5.2.0"
|
|||
|
||||
# development
|
||||
[patch.crates-io]
|
||||
# ggemini = { git = "https://github.com/YGGverse/ggemini.git" }
|
||||
ggemini = { git = "https://github.com/YGGverse/ggemini.git" }
|
||||
ggemtext = { git = "https://github.com/YGGverse/ggemtext.git" }
|
||||
# plurify = { git = "https://github.com/YGGverse/plurify.git" }
|
||||
|
|
|
|||
|
|
@ -270,11 +270,9 @@ impl Gemini {
|
|||
let mut alt = Vec::new();
|
||||
|
||||
// Append external indicator on exist
|
||||
if let Some(is_external) = link.is_external {
|
||||
if is_external {
|
||||
if link.uri.scheme() != base.scheme() {
|
||||
alt.push(EXTERNAL_LINK_INDICATOR.to_string());
|
||||
}
|
||||
}
|
||||
|
||||
// Append date on exist
|
||||
if let Some(timestamp) = link.timestamp {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue