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

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Conflict between Owl-Carousel and Markdown Auto line breaks

Started by Pedro M 6 years ago · 0 replies · 488 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 Jerry Hunt, 4 days ago
2 101 16 hours ago
General · by pamtbaau, 22 hours ago
1 68 21 hours ago
General · by Andy Miller, 1 day ago
0 53 1 day ago
General · by Marcel, 12 months ago
6 361 5 days ago
General · by Duc , 6 days ago
3 49 6 days ago