Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Conflict between Owl-Carousel and Markdown Auto line breaks

Started by Pedro M 6 years ago · 0 replies · 810 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 themetman, 24 hours ago
2 41 17 hours ago
General · by Hanns Mattes, 1 week ago
0 121 1 week ago
General · by Karmalakas, 1 week ago
2 185 1 week ago
General · by Hanns Mattes, 3 weeks ago
0 235 3 weeks ago
General · by Dima, 4 weeks ago
1 211 4 weeks ago