Skip to content

Get one or more plugins working #5

@simonw

Description

@simonw

Obvious starting point is https://datasette.io/plugins/datasette-cluster-map

Biggest challenge here is the CSS and JavaScript. I could hot-link those out to https://latest-with-plugins.datasette.io/ but that's only a very short term fix.

Ideally the <script> and <link> tags on the page that link to CSS and JavaScript would work in a way that uses the assets bundled with the plugin.

I may be able to get that to work by extracting them from the HTML, fetching the underlying CSS and JavaScript from the web worker and then injecting the content in as a data:uri - though that won't work for CSS files that reference other images with relative URLs inside the CSS.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions