MartinPacker / md2pptx

Markdown To PowerPoint converter
MIT License
222 stars 35 forks source link

Add the ability for Dynamic Metadata to revert to previous value #91

Closed MartinPacker closed 3 years ago

MartinPacker commented 3 years ago

Today we have default and pres, as well as explicit values - for Dynamic Metadata items.

Adding prev would allow a piece of Dynamic Metadata to revert to the previous value - though I don't contemplate this as a stack. At least not initially.

MartinPacker commented 3 years ago

Did implement as a stack. You can use "prev" or "pop". with dynamic metadata Throws away current value, making previous one current. There is always the default to fall back on as the stack is primed with that and it never gets popped.

This was made easier by the new ProcessingOptions class - in development.

MartinPacker commented 3 years ago

Fixed in 2.3, documented in 2.3.1.