![]() This fixes #10511 by turning off the YAML metadata block rendering in the Markdown parser. `clangd` uses `---` as dividers, but our parser interpreted it as a YAML metadata block, even though it didn't contain any valid YAML. Example Markdown from `clangd`: ### instance-method `format` --- → `void` Parameters: - `const int &` - `const std::tm &` - `int & dest` --- ```cpp // In my_formatter_flag public: void format(const int &, const std::tm &, int &dest) ``` What's between the two `---` is *not* valid YAML. Neovim, too, interprets these as dividers and renders them as such. And since we don't handle any possible metadata anyway, we can turn off the metadata handling, which causes the parser to interpret the `---` as dividers. Release Notes: - Fixed Markdown returned by `clangd` being rendered the wrong way. ([#10511](https://github.com/zed-industries/zed/issues/10511)). Before:  After:  Co-authored-by: Bennet <bennetbo@gmx.de> |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml | ||
LICENSE-GPL |