Describe this feature
I think that would be great for moenda the addition of a context, some informations can be useful to manipulate and facilitate the creation of new rules, usually this is made by a context. For example, we already have two rules that manipulates sections in markdown files, another system analyzing a markdown file might think that is also useful to understand the sections of the files, but with custom rules, providing informations about sections could be useful in this scenario.
Why I need this feature?
Facilitate the process of creation of new rules
How should we implement it?
- Parse the markdown file looking to sections, texts and other types of formations available in markdown
- Return the info as an array of objects like:
[{'type': 'section', 'value': 1}, {'type': 'text', 'value': "algo algo algo"},{'type': 'section', 'value': 2}]
Describe this feature
I think that would be great for moenda the addition of a context, some informations can be useful to manipulate and facilitate the creation of new rules, usually this is made by a context. For example, we already have two rules that manipulates sections in markdown files, another system analyzing a markdown file might think that is also useful to understand the sections of the files, but with custom rules, providing informations about sections could be useful in this scenario.
Why I need this feature?
Facilitate the process of creation of new rules
How should we implement it?
[{'type': 'section', 'value': 1}, {'type': 'text', 'value': "algo algo algo"},{'type': 'section', 'value': 2}]