Add bold markdown to the Rust blog message
This commit is contained in:
parent
cf96469579
commit
9da767866a
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user