I am trying to write an extension that allows to preprocess the Markdown spec. file.
It seems that a SpecificationProcessingListener gets only called after the MarkdownConverter is done, too late to pre-process the spec. so I use a SpecificationConverter.
Three questions:
- in convert() I get testName but I also need the path of the spec. file in order to do (relative) includes in my "pre-markdown dialect", how can I find this path?.
- what is a/the good way to chain (well call in convert()) the MarkdownConverter ?
- is it possible to keep the .md suffix for my extension?, currently I am using the @Extensions(...) tag in the .java files and an other .ext, or will this "kill" the MarkdownConverter and/or it's settings?.
Thanks,
jacq