getgrav / getgrav/grav-plugin-admin

Make markdown inserted from media configurable.

Open
#2,121 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
377
Forks
225
Avg merge
11h 51m
Merged PRs (30d)
4

Description

When I insert an image into markdown page it looks like `![Filename](Filename.jpg "Filename")`
And this is a hardcoded template.
It would be better to make it a configurable option. For example in my case I would like all images have a lightbox, so my template would be
`![](Filename.jpg?lightbox=1200,1200&&cropResize=320,320 "Filename")`
Just this would be a huge productivity enhancement.
If I could use EXIF fields in this template it would be the best.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.