[clang-tools-extra] [clang-doc]: Enable horizontal wrapping on longer function definitions (PR #181417)

Samrudh Nelli via cfe-commits cfe-commits at lists.llvm.org
Sat Feb 14 04:28:55 PST 2026


SamrudhNelli wrote:

> Lastly, I see you disabled highlighting due to some other issues. We should determine if we can address that more fundamentally in the template, e.g by changing the HTML constructs, the CSS, or other properties of the output.

If we use the `language-cpp` highlighting, the highlighter when rendering the page, removes our custom spans and inserts its own `hljs` spans. These spans only contain `QualName` (var type), and do not include `Name`. 
Hence its difficult to wrap or flex the spans according to our needs.


https://github.com/llvm/llvm-project/pull/181417


More information about the cfe-commits mailing list