Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

How to embed an inline image?

Started by Frederik Niedernolte 9 years ago · 4 replies · 1818 views
9 years ago

I have added an embedded lightbox image and want to show a list to the right of the image. Currently I cannot find a possibility to do that. Can you please help me?
Thanks in advance!

PS: This is the current Markdown code:

MARKDOWN
![name](name.jpg?lightbox=600,400&resize=200,200)

* 1
* 2
* 3
9 years ago

It's tricky to achieve advanced layout techniques with markdown syntax. What you really need to do for this is to use HTML, the problem with this however, is that you can't put markdown inside HTML (well you can technically with Markdown Extra but that has it's own issues).

My suggestion is to enable twig processing on the page and use Twig-syntax for the image lightbox inside of a 2-cell table (simplest way to achieve your 2 columns) and a regular HTML list for your second column.

9 years ago

Thanks for the hint, I have to deepen my knowledge in Twig-syntax first for that 🙂

Suggested topics

Topic Participants Replies Views Activity
Support · by BenLaKnet, 5 days ago
1 121 2 days ago
Support · by BenLaKnet, 1 week ago
5 195 2 days ago
Support · by kskt, 2 days ago
0 44 2 days ago
Support · by David Meissner, 3 days ago
0 43 3 days ago
Support · by David Meissner, 3 days ago
3 92 3 days ago