symphony-org / frost

Frost
BSD 3-Clause "New" or "Revised" License
19 stars 5 forks source link

Extend plugin with ability to modify document #8

Closed EncodePanda closed 5 years ago

EncodePanda commented 5 years ago

Once this PR gets in, frost gets full framework to support multiple plugins - In other words we can focus primarily on writing plugins and they will be rendered by frost

Transform
  Frost.Plugins transform
    should keep document as is, if no frost code blocks in it
    should substitute frost code blocks with content from plugin
    should modify document with multiple plugins
    should stop with error if plugin not found for given frost block