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

Display image description as figure caption #42

Open
orschiro opened this issue May 11, 2014 · 2 comments
Open

Display image description as figure caption #42

orschiro opened this issue May 11, 2014 · 2 comments

Comments

@orschiro
Copy link

Hi Stephen,

Thanks a lot for devleoping and maintaining WP-Markdown. I always miss the simplcity of markdown when I have to use WP without your plugin!

One question. I noticed that currently images do not have any caption set.

Is it possible to use the image description as a figure caption?

Example from Wordpress-markdown code:

![This description should become a caption][1]

Can this be rendered as a figure caption in the published post?

If not, what would be your advice if I want to use figure captions?

Thanks ahead!

@stephenharris
Copy link
Owner

Hi @orschiro

As far as I'm aware there's no markdown support for captions. In this instance you'd need to write out the appropriate HTML. (Or use the caption shortcode).

@orschiro
Copy link
Author

@stephenharris

You are right, there is not native support of markdown for captions. In that case it is not possible that WP-Markdown can automatically transform the image description into a

tag in the post?

In this instance you'd need to write out the appropriate HTML. (Or use the caption shortcode).

Can you give me an example how to do that in a post?

Thank you!

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