Skip to content

Feature request: support image caption #596

@yzhang-gh

Description

@yzhang-gh

For now, there is no good way to add a caption to an image in docsify. It would be better to have

  1. a way to write a caption, like {% include image.html url="..." description="..." %} in Jekyll (ref)
    or just raw HTML snippet <figcaption>...</figcaption> written by users themselves. Then we need
  2. default styles for figcaption, e.g. gray foreground color and smaller font

Another example: Hugo built-in shortcut

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions