Open jacobweber opened 5 years ago
I know I can use {-|Fruit} to leave the {Fruit} custom slot unparsed.
{-|Fruit}
{Fruit}
But is there a way to combine that with the "Optional Words" syntax, {favorite |}, to render one version with the slot, and one without it?
{favorite |}
For example, something like I like {-|Fruit|} ice cream which would return both I like {Fruit} ice cream and I like ice cream.
I like {-|Fruit|} ice cream
I like {Fruit} ice cream
I like ice cream
I know I can use
{-|Fruit}
to leave the{Fruit}
custom slot unparsed.But is there a way to combine that with the "Optional Words" syntax,
{favorite |}
, to render one version with the slot, and one without it?For example, something like
I like {-|Fruit|} ice cream
which would return bothI like {Fruit} ice cream
andI like ice cream
.