Closed EarthlingDavey closed 4 years ago
I have built a solution for this, it's a little rough around the edges but please let me know if you'd like a look and I'll create a fork and pull request.
@daveybrown Can you share what you did to solve the problem ?
Hi mate, check my 2 recent commits here : https://github.com/daveybrown/remark-shortcodes/commits/enclosing-shortcodes
They should give you something that works, but hasn't been extensively tested. In the end I went with a different solution all together and I'm not using remark on my project, so my recolection of the work is a bit hazy.
It should be self explanatory but give me a shout if you hit a brick wall with it.
Cheers, Davey
Is there any plan for enclosing shortcodes? Something like this?
WordPress - Enclosing Shortcodes docs