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

Hover doesn't render sub/sup html elements in Markdown text #21141

Closed
fbricon opened this issue Feb 22, 2017 · 1 comment
Closed

Hover doesn't render sub/sup html elements in Markdown text #21141

fbricon opened this issue Feb 22, 2017 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@fbricon
Copy link
Contributor

fbricon commented Feb 22, 2017

Hover doesn't render sub/sup html elements in Markdown text.

  • VSCode Version: 1.9.1/1.10.0-insider
  • OS Version: macOS 10.12.3

Steps to Reproduce:

  1. hover over some text returning x<sup>x+1</sup>. x<sub>i+1</sub>
  2. Text should be rendered as xx+1. xi+1

This follows up on redhat-developer/vscode-java#155, where I'm now trying to make Javadoc return sub/sub HTML tags as-is, in the Markdown text (unreleased WIP):

screen shot 2017-02-22 at 9 34 42 am

The Markdown rendering engine in VS Code supports it, as can be seen in the Markdown preview pane, just not in hover mode.

@jrieken
Copy link
Member

jrieken commented Feb 23, 2017

The MarkedString is strictly markdown without embedded html or scripts. Closing as dupe of #11877. The idea is to allow Html (w/o scripts and styles) in addition to Markdown. I think that would suite javadoc well because it often html-elements frequently

@jrieken jrieken closed this as completed Feb 23, 2017
@jrieken jrieken added the *duplicate Issue identified as a duplicate of another issue(s) label Feb 23, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants