I really like Pegdown project, I use it as the main mark down engine for codesanook.com.
However, I found something that not expected.
When I try to reuse PegDownProcessor by creating as Spring bean and it will produce duplicate HTML data.
Therefore, I need to create new instance every time I need it, this make lacking of Dependency injection technique that I need for special markdown syntax.
Hello everyone,
I really like Pegdown project, I use it as the main mark down engine for codesanook.com.
However, I found something that not expected. When I try to reuse PegDownProcessor by creating as Spring bean and it will produce duplicate HTML data. Therefore, I need to create new instance every time I need it, this make lacking of Dependency injection technique that I need for special markdown syntax.
Please give me some suggestions for this.
Thank you so much.