Hey all. I've done some searching and tried a few things, but nothing has quite done what i'm trying to do.
Background: I use Dokuwiki for pretty much everything at this point. It has basically become a one stop shop for me. I've got it set up for my dad to manage his train collection, recipes for folks, knowledgebase, landing page with iframes in tabs.... just all kinds of stuff. This questions is more centered around the recipe side of things.
My mother/mother in law, wife, and myself all use the recipe setup. I created a page template and I am using the bureaucracy plugin to do a nice form for folks to fill out when they add a recipe. The problem is what when they enter ingredients or directions for the recipe.
I have a text box in bureacracy named Ingredients
textarea "Ingredients"
In my template I have:
<WRAP half column>
===== Ingredients =====
@@Ingredients@@
</WRAP>
I would like to find a way to generate an ordered/unordered list from the data in the variable @@Ingredients@@. That way, if someone copies and pastes it would treat each new line as a bullet point or number in order and I wouldn't have to keep going in to fix formatting.
Many Thanks!