Skip to content

Special handling of lists of images to render Photo Carousel html #40

@vadimkantorov

Description

@vadimkantorov

Initial checklist

Problem

I'd like to have a way to special-render simple built-in markdown syntax into a Photo Carousel or Photo Grid html (e.g. Instagram-like) in my Astro-rendered markdown blog-posts:

- ![image figcaption](https://path/to/file1.img)
- ![image figcaption](https://path/to/file2.img)

I also posted at :

How does one go about implementing such a plugin?

Current solutions

N/A

Proposed solutions

New rehype plugin for special-handling syntax like:

- ![image figcaption](https://path/to/file1.img)
- ![image figcaption](https://path/to/file2.img)

or

---
- ![image figcaption](https://path/to/file1.img)
- ![image figcaption](https://path/to/file2.img)
---

Metadata

Metadata

Assignees

No one assigned

    Labels

    👎 phase/noPost cannot or will not be acted on🙋 no/questionThis does not need any changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions