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

Feature Request: HTML Output #123

Closed
kwcto opened this issue May 17, 2014 · 3 comments
Closed

Feature Request: HTML Output #123

kwcto opened this issue May 17, 2014 · 3 comments

Comments

@kwcto
Copy link
Contributor

kwcto commented May 17, 2014

Having previously used C# quite a bit, LINQPad was indispensible (http://www.linqpad.net/). Being able to "dump()" any object graph and see nested tables was great for testing APIs. I've seen some atom packages use HTML views so I know its possible.

@erran
Copy link
Collaborator

erran commented May 30, 2014

See lib/script-view.coffee#L193-L195. Version 2.1.7 updated HTML to be escaped with the exception of ANSI colors.

@rgbkrk
Copy link
Member

rgbkrk commented May 30, 2014

I really would like to see HTML accepted as a first class citizen when people want it. In IPython land, defining __repr_html__ on a class makes objects magical when used in the IPython Notebook.

Not sure how to balance this between users that want raw output and those that want to put stuff on the DOM.

It's almost like wishing there were a tty setting that said "actually, I'm a canvas please paint on me".

@erran
Copy link
Collaborator

erran commented Jul 8, 2014

I was looking at tcarlsen/atom-message-panel the other day and see a raw option. Besides possible integration in the future I think providing a similar option for the user to override and set to true would be good.

@erran erran changed the title Feature: HTML Output Feature Request: HTML Output Jul 17, 2014
erran added a commit to erran/atom-script that referenced this issue Oct 31, 2014
erran added a commit to erran/atom-script that referenced this issue Nov 1, 2014
erran added a commit to erran/atom-script that referenced this issue Nov 1, 2014
@erran erran closed this as completed in 510eeb7 Nov 1, 2014
rgbkrk added a commit that referenced this issue Nov 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants