disable inline image renderer for now
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
12
src/app.rs
12
src/app.rs
@@ -658,15 +658,17 @@ fn render_note_contents(
|
|||||||
}
|
}
|
||||||
|
|
||||||
BlockType::Url => {
|
BlockType::Url => {
|
||||||
|
/*
|
||||||
let url = block.as_str().to_lowercase();
|
let url = block.as_str().to_lowercase();
|
||||||
if url.ends_with("png") || url.ends_with("jpg") {
|
if url.ends_with("png") || url.ends_with("jpg") {
|
||||||
images.push(url);
|
images.push(url);
|
||||||
} else {
|
} else {
|
||||||
ui.add(Hyperlink::from_label_and_url(
|
*/
|
||||||
RichText::new(block.as_str()).color(PURPLE),
|
ui.add(Hyperlink::from_label_and_url(
|
||||||
block.as_str(),
|
RichText::new(block.as_str()).color(PURPLE),
|
||||||
));
|
block.as_str(),
|
||||||
}
|
));
|
||||||
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
BlockType::Text => {
|
BlockType::Text => {
|
||||||
|
|||||||
Reference in New Issue
Block a user