Skip to content

Document image captions support#80

Open
osulyanov wants to merge 1 commit into
diplodoc-platform:masterfrom
osulyanov:image-captions-support
Open

Document image captions support#80
osulyanov wants to merge 1 commit into
diplodoc-platform:masterfrom
osulyanov:image-captions-support

Conversation

@osulyanov

@osulyanov osulyanov commented Dec 16, 2024

Copy link
Copy Markdown

Documents Add image captions support.

Example Syntax

![Alt text](_images/image.png "Caption text" =100x100){ caption }

In this example, the "Caption text" should be rendered within a figcaption tag below the image.

Example HTML Output

The resulting HTML should look like this:

<figure>
    <img src="_images/image.png" alt="Alt text" width="100" height="100" title="Caption text">
    <figcaption>Caption text</figcaption>
</figure>

DOCSTOOLS-3428

Related issue: diplodoc-platform/transform#514

@osulyanov osulyanov changed the title doc: Document image captions support Document image captions support Dec 16, 2024
@github-actions

Copy link
Copy Markdown

✅ Documentation build

Revision built successfully
Revision preview link

Build logs

Warnings (1)

⚠️ Variable translate.target-lang not found in /ru/tools/docs/translate.md

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

Successfully merging this pull request may close these issues.

1 participant