mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-05 11:57:43 +03:00
TODO
This commit is contained in:
parent
30171416cb
commit
c71c9f69e2
1 changed files with 1 additions and 0 deletions
|
@ -228,6 +228,7 @@ impl Component for Markdown {
|
||||||
return None;
|
return None;
|
||||||
}
|
}
|
||||||
let contents = parse(&self.contents, None, &self.config_loader);
|
let contents = parse(&self.contents, None, &self.config_loader);
|
||||||
|
// TODO: account for tab width
|
||||||
let max_text_width = (viewport.0 - padding).min(120);
|
let max_text_width = (viewport.0 - padding).min(120);
|
||||||
let mut text_width = 0;
|
let mut text_width = 0;
|
||||||
let mut height = padding;
|
let mut height = padding;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue