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

How can I add figure caption to image? #54

Open
jimmysue opened this issue May 23, 2020 · 1 comment
Open

How can I add figure caption to image? #54

jimmysue opened this issue May 23, 2020 · 1 comment

Comments

@jimmysue
Copy link

jimmysue commented May 23, 2020

I'd like to add descriptions to images, and the descriptions with different format to distinguish with normal paragraph. what is the best way?

Thanks!

@DotIN13
Copy link
Contributor

DotIN13 commented May 23, 2020

I've been using a way originally from a stackoverflow answer, which is to use html as follows:

<img src=""></img>
<em>Desc</em>

Then use the following selector to style the description:

img+em {
  // your style
}

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