Skip to content

Cannot Set "Enable script execution in markdown preview for this workspace" For Directly Opened Markdown File #24749

@timeregained

Description

@timeregained
  • VSCode Version: 1.11.2
  • OS Version: Windows 10 1703

Steps to Reproduce:

  1. Create a new markdown file, and insert a reference as : <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=default"></script>
  2. Open the preview of current md document.
  3. A notice appeared on the right-top of the preview window : Script has been disabled in this document.
  4. Click the notice and then select pop out option : Enable script execution in markdown preview for this workspace.
  5. The notice "Script has been disabled in this document" is till there and I tried using a new line with "$$x=\frac{-b\pm\sqrt{b^2-4ac}}{2a}$$" and turn out the script is still disabled in this document.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugmarkdownMarkdown support issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions