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

Include raw images #3

Closed
BertrandBordage opened this issue Jan 26, 2013 · 3 comments
Closed

Include raw images #3

BertrandBordage opened this issue Jan 26, 2013 · 3 comments

Comments

@BertrandBordage
Copy link

Img tags are currently linking to their git pages like https://github.com/ralsina/rst-cheatsheet/blob/master/magnetic-balls.jpg. This should link to raw images, like https://raw.github.com/ralsina/rst-cheatsheet/master/magnetic-balls.jpg.

@ralsina
Copy link
Owner

ralsina commented Jan 26, 2013

Sorry if I am dense but what image tags are you taking about?

@BertrandBordage
Copy link
Author

In rst-cheatsheet.rst, the "image" directives:
.. image:: magnetic-balls.jpg
are not rendered properly using github. So I thought the filenames could be replaced with raw github links like https://raw.github.com/ralsina/rst-cheatsheet/master/magnetic-balls.jpg.

@ralsina
Copy link
Owner

ralsina commented Jan 26, 2013

If I do that, then it won't render correctly when trying to build the PDF, which is the whole idea :-)

You can, of course, clone the repo and run rst2html yourself on it if you want a HTML version.

@ralsina ralsina closed this as completed Jan 26, 2013
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