Skip to content

example notebook is not working - is some config required? #2793

@housten

Description

@housten

Discussed in #2756

Originally posted by housten February 21, 2023
I have newly installed polyglot in VS Code and the .net 7 sdk. As a notebook newbie, I am trying to get to grips with how it works so I am using some of the example files, but I don't get what I expect back. Is some configuration required or do I have false expectations or maybe I am looking in the wrong place?

Here are some examples from html.jpynb:

  • for example, the first item, 'Displaying rich output', I expected it to render the html, but I get the literal html (tags and all, I mean) in the display cell after the code cell. Whereas when I run the equivalent using the magic command in the lower part of the page, it worked as I expected.
  • However, the javascript alert does not result in an alert window with either of the example syntaxes. The first one resulted in ""No formatter is registered for MIME type application/javascript. Out-Display: " while nothing appeared to happen when running the magic word one.
  • Regarding the custom svg MIME type I expected to get the picture but I get the xml in the display cell

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions