================
@@ -118,8 +138,8 @@ class Document {
   BulletList &addBulletList();
 
   /// Doesn't contain any trailing newlines.
-  /// We try to make the markdown human-readable, e.g. avoid extra escaping.
-  /// At least one client (coc.nvim) displays the markdown verbatim!
----------------
tcottin wrote:

I am not sure about the provided design.
I actually wanted to use the new config from the `markup::Document` class 
directly.
But the class is in the `clangdSupport` lib which does not have access to the 
config apparently.

Therefore I added a new `asEscapedMarkdown` function to the class.
This allows the users to determine what is needed based on the config and the 
client capabilities.

I fixed the missed formatting, but force pushed...
I think this canceled the approval of the CI again.

https://github.com/llvm/llvm-project/pull/140498
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to