mirror of
https://github.com/NixOS/nix.git
synced 2025-11-10 12:36:01 +01:00
This will facilitate breaking up Nix into multiple packages for each component with Meson.
17 lines
376 B
C++
17 lines
376 B
C++
#pragma once
|
|
///@file
|
|
|
|
#include <string_view>
|
|
|
|
namespace nix {
|
|
|
|
/**
|
|
* Render the given Markdown text to the terminal.
|
|
*
|
|
* If Nix is compiled without Markdown support, this function will return the input text as-is.
|
|
*
|
|
* The renderer takes into account the terminal width, and wraps text accordingly.
|
|
*/
|
|
std::string renderMarkdownToTerminal(std::string_view markdown);
|
|
|
|
}
|