saneef / eleventy-plugin-asciidoc

Eleventy plugin to add support for AsciiDoc.
MIT License
26 stars 7 forks source link

Pre-process AsciiDoc files with another converter #12

Closed xavier-calland closed 1 year ago

xavier-calland commented 1 year ago

When using Markdown, Markdown files are preprocessed (by default by Liquid).

This allows access to the data transmitted by Eleventy in the Markdown page.

It would be great to have this feature with AsciiDoc.

That said, I don't know if it's easy to retrieve the template engines configured in Eleventy.

saneef commented 1 year ago

@xavier-calland I'm sorry for the delayed reply.

I understand your use case. But, I could not find a clean way to like it is done with Markdown in Eleventy. I'll stick with the way the plugin works for now.

I hope with Eleventy v3.0, there may be a better plugin system for templating engines. (See 11ty/eleventy/#1955038524).

I recommend you to keep a fork, with the changes you had suggest in #13.