We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
reStructuredText allows role markers to be either a prefix or a suffix of interpreted text.
def example(): """Two ways * Prefix stye: :func:`example` * Postfix stye: `example`:func: """ pass
Pylance currently only supports the prefix style. Sphinx support both. Please add support for suffix role markers.
The text was updated successfully, but these errors were encountered:
What would be the expectation of the output? It looks like it's working to me:
Sorry, something went wrong.
Whoops, I had restructured text turned off. It's showing this
That text gives out this AST in our parser:
We probably just need to handle the case when the role comes after.
rchiodo
No branches or pull requests
reStructuredText allows role markers to be either a prefix or a suffix of interpreted text.
Pylance currently only supports the prefix style. Sphinx support both. Please add support for suffix role markers.
The text was updated successfully, but these errors were encountered: