fix: Update mistune plugin to be compat with 3.0.x
Mistune bump to 3.x updated the plugin API making our current one incompatible and requiring changes. This commit makes the required changes so we can work with newer version.
This also strictly works on mistune>=3.0 since the older API won't work for us anymore.
Edited by Abhilash Raj