Skip to content
● Grav 2.2 is out: 2x faster cold starts and 96% less memory on big sites. Read the announcement →

Conflict between Owl-Carousel and Markdown Auto line breaks

Started by Pedro M 6 years ago · 0 replies · 700 views
6 years ago

Hello there.
I'm writing this post for help anyone looking for information about this problem.

If you set enable "Markdown Auto line breaks" in System configuration, in Grav, you'll find a blank image extra in the shortcode owl-carousel in your pages.

Example:
owl-carousel|690x388

Therefore, you have to disable "Markdown Auto line breaks" to this plugin work fine, or write your content without line breaks.

Example with blank image extra:

TXT
[owl-carousel items=1 margin=10 loop=true autoplay=true autoplayHoverPause=true nav=true]
![](busq00.jpg?cropZoom=1280,720)
![](busq11.jpg?cropZoom=1280,720)
[/owl-carousel]

Example without blank image extra and markdown auto line breaks activated:

TXT
[owl-carousel items=1 margin=10 loop=true autoplay=true autoplayHoverPause=true nav=true]
![](busq00.jpg?cropZoom=1280,720)![](busq11.jpg?cropZoom=1280,720)
[/owl-carousel]

The above images are written without line breaks.

I hope I've helped.

👍 1
last edited 06/29/20 by Pedro M

Suggested topics

Topic Participants Replies Views Activity
General · by Andy Miller, 1 week ago
0 119 1 week ago
General · by lynbor, 1 month ago
3 446 2 weeks ago
General · by lynbor, 3 weeks ago
7 568 2 weeks ago
General · by Harry, 2 weeks ago
0 166 2 weeks ago
General · by Old Man Umby, 1 month ago
2 311 4 weeks ago