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

implement image width (percent) in pandoc markdown #332

Closed
rwst opened this issue Oct 29, 2011 · 5 comments
Closed

implement image width (percent) in pandoc markdown #332

rwst opened this issue Oct 29, 2011 · 5 comments

Comments

@rwst
Copy link

rwst commented Oct 29, 2011

To support image width specification in input languages like LaTeX,
a way to specify that value in pandoc markdown would be needed.
It will be sufficient to somehow give a percentage of the text width
as an integer between 1 and 100.

Proposed possibilities are (which would be best?):

![Caption](/path/to/file)@50
![Caption](/path/to/file @50)
![Caption]@50(/path/to/file)

No value assumes the default 100.

@rwst
Copy link
Author

rwst commented Nov 20, 2011

Depends on jgm/pandoc-types#3

@jgm
Copy link
Owner

jgm commented Nov 21, 2011

Please see #261 and the wiki page linked there. How best to implement image width in markdown is a longstanding issue; there are some ideas discussed there.

@rwst
Copy link
Author

rwst commented Nov 21, 2011

Oh well, at least I have a working solution for myself.
Do what you want with it.

@shrutikapoor08
Copy link

Hi rwst, how did you implement the image size function? I am trying to do something similar in a python SCons file that is pretty much like a gpp preprocessor.

@mpickering
Copy link
Collaborator

Discussion continues on #261

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

Successfully merging a pull request may close this issue.

4 participants