Yes you can use them inside the AMD module but keep in mind once you add an event listener on the window object it will be called everytime there is an action:ajaxify.end. If you don't want it triggered after you leave that page you need to turn it off with $(window).off('eventName', myMethod)
Thank To Unhide
I would like to make a plugin that extends the current markdown with another option called "reply to unhide".
The idea is to force a user to leave a reply at a topic in order to unhide certain content in the main post.
I've done some research and what I understand so far is that I'll have to create a plugin.json with some content in it.
I have to use the "filter:parse.post" hook in order to iether hide or unhide content based on whether the user left a reply.
The only thing I am currently struggling with is how to add this to the current markdown script, I'll need some sort of code which can be wrapped around the hidden content.
Ah thanks, that'll help alot
@Archcry, no problem. I'm interested in your plugin, as I had considered doing something for similar