FIXTradingCommunity / tablature

Easy authoring for rules of engagement using markdown
https://www.fixtrading.org/
Apache License 2.0
11 stars 8 forks source link

Import text dynamically #38

Closed donmendelson closed 3 years ago

donmendelson commented 3 years ago

Technical specifications often include snippets of data, XML, or code. If data is pasted into a text document, it becomes static and can no longer be validated by a system that managed or created it. It would be better to support import of text from external sources dynamically. Each time a Tablature process is run, it would access fresh data. Once imported, the text would be treated the same as the surrounding document.

Markdown already has a feature called fenced code block for a literal snippet, delimited by ``` (3 backticks). A Tablature processor would recognize a syntax for an import statement within such a block and pull it in.

donmendelson commented 3 years ago

Duplicate of #37