Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for MarkdownClientCapabilities #509

Open
MartinK07 opened this issue Jan 4, 2024 · 1 comment
Open

Adding support for MarkdownClientCapabilities #509

MartinK07 opened this issue Jan 4, 2024 · 1 comment

Comments

@MartinK07
Copy link

With LSP 3.16 an option was introduced in which clients can specify the markdown parser that the server should use.
https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#markdownClientCapabilities

Having the option to specify the flavor of Markdown to generate would be a great way to resolve differences between GFM (GitHub Flavoured Markdown) and Python-Markdown.

This would likely resolve issues for currently broken rendering in LSP clients such as Sublime-LSP:
python-lsp/docstring-to-markdown#36

@krassowski
Copy link
Contributor

I would be in favour of handling the MarkdownClientCapabilities and passing this info down to docstring-to-markdown (which would also need to be modified to accept these too); I am happy to help review PRs if anyone is interested in contributing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants