Add bold markdown to the Rust blog message

This commit is contained in:
toast 2024-07-27 23:44:17 -04:00
parent cf96469579
commit 9da767866a

View File

@ -260,7 +260,7 @@ async fn rust_message() -> Result<Option<String>, Error> {
return Ok(None);
} else {
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 {
task_err("RSS:RustBlog", &format!("Article URL does not match the expected RegEx pattern! ({})", article_id));