grav-plugin-shortcode-core icon indicating copy to clipboard operation
grav-plugin-shortcode-core copied to clipboard

Mulitple Columns Sections on one page

Open rmrten opened this issue 7 years ago • 4 comments

Maybe easy fix or my misunderstanding but i am unable to use multiple columns short codes on one page. My page looks like this:

  1. Text [columns] Unordered list [/columns]
  2. Text [columns] Unordered list [/columns] ...etc

columns short code works only for first time then it looks like it is ignored.

rmrten avatar Oct 26 '18 12:10 rmrten

UPDATE:

I tried to put all text from page in [columns][/columns] and it works only for first unordered list until it breaks with another text.

Markdown looks like this:

Text

  • list
  • list

Text 2

  • list
  • list

Text x

  • list
  • list

It looks like text between to lists breaks the column short code.

rmrten avatar Oct 26 '18 14:10 rmrten

Can you please provide me with the original markdown file with all the shortcode and HTML/Markdown intact? I don't know how to exactly replicate your issue.

Thanks.

rhukster avatar Oct 26 '18 17:10 rhukster

mdcolumns.txt Sorry for delay i was out for a while. Here is the md. What i want to achieve is to break unordered list into columns for each entry in ordered list. Iried that also like this but output is the same. mdcolumns2.txt In both cases only first entry of ordered list ( 1. ) is in two columns. Others not.

rmrten avatar Nov 05 '18 13:11 rmrten

multiple columns should work fine if you use 'regular' parser.

rhukster avatar Mar 20 '19 17:03 rhukster