When using entangled with multiple markdown files that generate separate output files, I believe all code block identifiers share a global namespace? This means that common identifier names cannot be reused across different markdown files without causing code blocks to be mixed together in the generated output.
For example, if I have:
example1.md → generates example1.py
example2.md → generates example2.py
And both files have labelled #imports code blocks then both python files will have both #imports blocks. But I'd like them to only have their own one.
My current workaround is prefixing the code block names but I wonder if there's something more robust already supported? Or could be supported in future?
When using
entangledwith multiple markdown files that generate separate output files, I believe all code block identifiers share a global namespace? This means that common identifier names cannot be reused across different markdown files without causing code blocks to be mixed together in the generated output.For example, if I have:
example1.md→ generatesexample1.pyexample2.md→ generatesexample2.pyAnd both files have labelled
#importscode blocks then both python files will have both#importsblocks. But I'd like them to only have their own one.My current workaround is prefixing the code block names but I wonder if there's something more robust already supported? Or could be supported in future?