I’m finally getting a chance to try this, and I’ve run into a problem. Whether I use just <<filteredText>>
or wrap it in <<wikify>>
, I’m still getting out plain text. But I want to wikify the results.
Thus if my tiddler looks like this:
!! Ingredients
* 2 egg whites
* 3/4 cup sugar
* 5 drops oil of wintergreen
* 1/8 tsp cream of tartar
* Red food coloring
* 6 oz mini chocolate chips
!! Instructions
(more here)
I would like to have rendered:
Ingredients
- 2 egg whites
- 3⁄4 cup sugar
- 5 drops oil of wintergreen
- 1⁄8 tsp cream of tartar
- Red food coloring
- 6 oz mini chocolate chips
Instructions
(more here)
But instead, I get
Ingredients2 egg whites3⁄4 cup sugar5 drops oil of wintergreen1⁄8 tsp cream of tartarRed food coloring6 oz mini chocolate chipsInstructions(more here)
And if I try
<$let filteredText={{{ [{!!text}search-replace:g:regexp[\b(\d+)\/(\d+)\b],[^^$1^^⁄,,$2,,]] }}}>
<$transclude $variable="filteredText" mode="block"/>
</$let>
I get
!! Ingredients * 2 egg whites * 3⁄4 cup sugar * 5 drops oil of wintergreen * 1⁄8 tsp cream of tartar * Red food coloring * 6 oz mini chocolate chips !! Instructions (more here)
This looked so promising, but I really seem stuck. Any suggestions?