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

CLI output #1

Open
ivanoats opened this issue Apr 9, 2015 · 2 comments
Open

CLI output #1

ivanoats opened this issue Apr 9, 2015 · 2 comments

Comments

@ivanoats
Copy link

ivanoats commented Apr 9, 2015

It might be cool to have a feature that allows for output in less or something in Terminal. More like ruby's ri command. So that people could use this in vim / tmux etc...

Perhaps using the https://www.npmjs.com/package/to-markdown package?

Would you be interested in a pull request?

@CMTegner
Copy link
Owner

I like the idea, but sadly the state of converting HTML to markdown is dire at the moment. As far as I can tell all the html-to-md converters depend on jsdom to parse the markup and present a traversable tree. The problem is that jsdom@4 is io.js only, and as far as I can tell the older versions of jsdom don't even compile on io.js!

I've pushed some preliminary work to the output-as-markdown branch. I'm happy to discuss this feature more while we wait for node and io.js to reconcile.

@markbrown4
Copy link

https://www.npmjs.com/package/so-lucky does something similar to this using html-to-text.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants