asciidoctor / asciidoctor-extensions-lab

A lab for testing and demonstrating Asciidoctor extensions. Please do not use this code in production. If you want to use one of these extensions in your application, create a new project, import the code, and distribute it as a RubyGem. You can then request to make it a top-level project under the Asciidoctor organization.
Other
104 stars 101 forks source link

Wordpress Postprocessor #75

Closed obilodeau closed 2 years ago

obilodeau commented 7 years ago

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!

obilodeau commented 6 years ago

Oh, I see why it's not merged... It's missing the README entry.

mojavelinux commented 6 years ago

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/