Skip to content

Injecting auto-render code at end of DOM from <head> script #621

@oddhack

Description

@oddhack

This is a -users question, not a -developers question, but it's not clear to me where to post such questions. Apologies if this is inappropriate, and if you have pointers to a good place to ask, I'd appreciate that.

I'm looking for an example of how to create a script from the document <head> that will inject the call to setup and execute the auto-render extension at the end of the document. This would be nice because it's tedious to inject this code when rendering multiple asciidoc source documents to HTML, and it would be simpler to just have a single block of scripts, both loading from the CDN and then setting up the auto-render call, added to the document head, for which there's a good existing asciidoc mechanism. If such an example script exists it would be great to add to the auto-render dir.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions