» Details |
---|
|
» Comment |
Great package The only problem is that it will not be able to do cross-referencing the way phpDocumentor does it, as it must also be possible to know the current code syntax to do this. Perhaps in the future, a plugin system could be designed that allows an external parser/tokenizer to pass tokens into the highlighter? That's my only condition - if the highlighting callback took 2 arguments, the token, and what text should be highlighted as if it were the token, then we would be in business. For the initial release, this is not crucial, but I will absolutely need this feature to be able to use this package in phpDocumentor for PHP code, and I do want to use it. In its current state, it will be used for other things like javascript/html surrounding PHP code, xml and tutorials, and so on. |