Rendering markdown tests if ANSI is supported in order to tell lowdown to disable ANSI escapes. Unfortunately it was testing stderr and yet nearly all rendered markdown output was printed to stdout. Change-Id: Id0000000f0e667d235239c095330d355a9b7714a
12 lines
236 B
C++
12 lines
236 B
C++
#pragma once
|
|
///@file
|
|
|
|
#include "lix/libutil/terminal.hh"
|
|
#include "lix/libutil/types.hh"
|
|
|
|
namespace nix {
|
|
|
|
std::string renderMarkdownToTerminal(std::string_view markdown, StandardOutputStream fileno = StandardOutputStream::Stdout);
|
|
|
|
}
|