mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +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]
|
[dependencies]
|
||||||
ansi-parser = "0.9.1"
|
ansi-parser = "0.9.1"
|
||||||
anyhow = "1.0.97"
|
anyhow = "1.0.97"
|
||||||
ggemini = "0.17.0"
|
ggemini = "0.17.1"
|
||||||
ggemtext = "0.3.2"
|
ggemtext = "0.4.0"
|
||||||
indexmap = "2.7.0"
|
indexmap = "2.7.0"
|
||||||
itertools = "0.14.0"
|
itertools = "0.14.0"
|
||||||
libspelling = "0.3.0"
|
libspelling = "0.3.0"
|
||||||
|
|
@ -44,6 +44,6 @@ syntect = "5.2.0"
|
||||||
|
|
||||||
# development
|
# development
|
||||||
[patch.crates-io]
|
[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" }
|
ggemtext = { git = "https://github.com/YGGverse/ggemtext.git" }
|
||||||
# plurify = { git = "https://github.com/YGGverse/plurify.git" }
|
# plurify = { git = "https://github.com/YGGverse/plurify.git" }
|
||||||
|
|
|
||||||
|
|
@ -270,11 +270,9 @@ impl Gemini {
|
||||||
let mut alt = Vec::new();
|
let mut alt = Vec::new();
|
||||||
|
|
||||||
// Append external indicator on exist
|
// Append external indicator on exist
|
||||||
if let Some(is_external) = link.is_external {
|
if link.uri.scheme() != base.scheme() {
|
||||||
if is_external {
|
|
||||||
alt.push(EXTERNAL_LINK_INDICATOR.to_string());
|
alt.push(EXTERNAL_LINK_INDICATOR.to_string());
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
// Append date on exist
|
// Append date on exist
|
||||||
if let Some(timestamp) = link.timestamp {
|
if let Some(timestamp) = link.timestamp {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue