Add bold markdown to the Rust blog message
All checks were successful
Build and push container image / build (push) Successful in 15m32s
All checks were successful
Build and push container image / build (push) Successful in 15m32s
This commit is contained in:
parent
003d17a15f
commit
3700fe34f0
@ -260,7 +260,7 @@ async fn rust_message() -> Result<Option<String>, Error> {
|
|||||||
return Ok(None);
|
return Ok(None);
|
||||||
} else {
|
} else {
|
||||||
save_to_redis(&rkey, &blog).await?;
|
save_to_redis(&rkey, &blog).await?;
|
||||||
Ok(Some(format!("Rust Team has put out a new article!\n[{}](<{}>)", article.links[0].title.clone().unwrap(), article.links[0].href)))
|
Ok(Some(format!("Rust Team has put out a new article!\n**[{}](<{}>)**", article.links[0].title.clone().unwrap(), article.links[0].href)))
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
task_err("RSS:RustBlog", &format!("Article URL does not match the expected RegEx pattern! ({})", article_id));
|
task_err("RSS:RustBlog", &format!("Article URL does not match the expected RegEx pattern! ({})", article_id));
|
||||||
|
Loading…
Reference in New Issue
Block a user