Ovski4 / jekyll-tabs

Add tabs on your pages with this Jekyll plugin
MIT License
26 stars 15 forks source link

Can it only be used for codeblocks? #19

Open kmoscoe opened 1 day ago

kmoscoe commented 1 day ago

It seems that unless the text inside of the {tab} and {endtab} tags are enclosed in ```, the text does not display. This seems like a bug to me. I'm actually trying to use this for non-code examples, but for procedures (using a UI, using a CLI,...etc.)

Any chance of fixing this, so that any arbitrary Markdown can be supported?

kmoscoe commented 1 day ago

This line:

This will apply only if <pre> tags can be found inside the tabs contents.

Implies that

 tags or Markdown ``` shouldn't be required globally. However, I'm not able to get the tab content to display without them. Is it a bug?