[clang-tools-extra] [clangd] Improve Markup Rendering (PR #140498)
Maksim Ivanov via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 11 19:45:16 PDT 2025
================
@@ -316,6 +399,12 @@ std::string indentLines(llvm::StringRef Input) {
class Heading : public Paragraph {
public:
Heading(size_t Level) : Level(Level) {}
+
+ void renderEscapedMarkdown(llvm::raw_ostream &OS) const override {
+ OS << std::string(Level, '#') << ' ';
----------------
emaxx-google wrote:
nit: Consider putting this line into a small helper.
https://github.com/llvm/llvm-project/pull/140498
More information about the cfe-commits
mailing list