Closed obilodeau closed 2 years ago
Oh, I see why it's not merged... It's missing the README entry.
I see that this would be useful for preparing a WordPress post, though I'm worried it's suggesting that it does more than it actually does. Perhaps we can use a name like "ExportToBlogPostprocessor" or something like that.
Btw, there is a tool that uses Asciidoctor that does post to WordPress via the wordpress API. See https://github.com/mojavelinux/asciidoc-blogpost.py It's been years since I tried it, so it may require updating.
There's also an actual plugin for WordPress that uses Asciidoctor: https://wordpress.org/plugins/asciidoctor-wp/
Generates HTML that is ready to be pasted in the Source view of a Wordpress post.
Pretty simplistic right now.
Thanks to @mojavelinux for the guidance in passing the
header_footer
option properly!