luckasRanarison / nvim-devdocs

Neovim DevDocs integration
MIT License
265 stars 19 forks source link

C++ documentation doesn't hide formatting (```cpp) #33

Closed Andyson007 closed 1 year ago

Andyson007 commented 1 year ago

from std::accumulate ```cpp template<class InputIt, class T> constexpr // since C++20 T accumulate(InputIt first, InputIt last, T init) { for (; first != last; ++first) init = std::move(init) + *first; // std::move since C++20

return init;
} ``` accumulate (2)

(This is a raw copy) The ```cpp shouldn't be visible

luckasRanarison commented 1 year ago

That's the expected behavior if you're previewing the raw markdown, it's there to provide context for syntax highlighting.