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

RI doesn't generate html, only Markdown #32

Open
houshuang opened this issue Mar 27, 2013 · 2 comments
Open

RI doesn't generate html, only Markdown #32

houshuang opened this issue Mar 27, 2013 · 2 comments

Comments

@houshuang
Copy link

In the help for my version of ri (4.0.0) it says

-f, --format=NAME                Uses the selected formatter. The default
                                 formatter is bs for paged output and ansi
                                 otherwise. Valid formatters are:
                                 ansi bs markdown rdoc

So when SublimePeek tries to generate --format html, it fails. What we need to do is generate markdown, and run it through pandoc, I think. I'd send a pull request, but I'm not fluent enough in Python to be confident. Would love to get it fixed though, it would be really useful!

@jlegewie
Copy link
Owner

I am not using ri so I don't really know the details. But quicklook can also show markdown files directly when you install an extension. Maybe that helps...

@houshuang
Copy link
Author

Brilliant, good point. Since I'm only using it for ruby, I simple search
and replaced .html with .md, and removed the <head...> line in write_html,
and now it works swimmingly. Someone who is better at Python than me should
update the package so it works with both Ruby and other tools.

Stian

On Wed, Mar 27, 2013 at 3:54 PM, jlegewie [email protected] wrote:

I am not using ri so I don't really know the details. But quicklook can
also show markdown files directly when you install an extension. Maybe that
helps...


Reply to this email directly or view it on GitHubhttps://github.com//issues/32#issuecomment-15549179
.

http://reganmian.net/blog -- Random Stuff that Matters

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

2 participants