Skip to content

Nested within link - ignored #1

Open

Description

@flywire

The following URL is ignored:

[![Alt text](/path/to/image.png "This is the title of the image.")](URL)

Expected:

<figure>
<a href="URL">
<img alt="Alt text" src="/path/to/image.png" title="This is the title of the image."/>
</a>
<figcaption><span>Figure 1:</span> This is the title of the image.</figcaption>
</figure>

The link would include the image but not the caption.

The alt tag needs more consideration.

Activity

  1. Ptrph commented on Aug 24, 2020

    @Ptrph

    I would love to have this working properly!

  2. flywire commented on Aug 24, 2020

    @flywire
    OwnerAuthor

    It is fixed in the ContentHack branch but unfortunately adding new content types (Table, Other) broke config functionality and I'm still fixing that. That branch could be run but any config would need to be changed in the code which is pretty trivial. email me if you want support implementing this hack.

  3. Ptrph commented on Sep 1, 2020

    @Ptrph

    Thanks for your reply. I’m still testing some setups and playing around with MkDocs and Python-Markdown. As I’m not a developer I try to keep it as simple as possible for the moment. I can wait a bit to see before testing the ContentHack branch. Thank you!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions