mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-29 09:06:15 +02:00
markdown.cc: Format
Slightly custom because the automated formatting messes up the braced initializer with named fields.
This commit is contained in:
parent
fb450de20e
commit
2b4e3f04a4
1 changed files with 4 additions and 3 deletions
|
@ -15,7 +15,8 @@ std::string renderMarkdownToTerminal(std::string_view markdown)
|
|||
#if HAVE_LOWDOWN
|
||||
int windowWidth = getWindowSize().second;
|
||||
|
||||
struct lowdown_opts opts {
|
||||
struct lowdown_opts opts
|
||||
{
|
||||
.type = LOWDOWN_TERM,
|
||||
.maxdepth = 20,
|
||||
.cols = (size_t) std::max(windowWidth - 5, 60),
|
||||
|
|
Loading…
Reference in a new issue