![]() |
Nix 2.36.0
Nix, the purely functional package manager; unstable internal interfaces
|
#include <string>#include <string_view>Go to the source code of this file.
Functions | |
| std::string | nix::renderMarkdownToTerminal (std::string_view markdown) |
| std::string nix::renderMarkdownToTerminal | ( | std::string_view | markdown | ) |
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.