Skip to content

v1.1.0

Choose a tag to compare

@nulfrost nulfrost released this 11 Aug 00:29
· 9 commits to main since this release

Minor Changes

  • 6d70cc6: Added support for these leaflet blocks:

    • ul/li
    • math
    • code
    • img
    • hr

    the only remaining block to implement is "website", though I haven't thought of a good way to output that yet. stay tuned for a further release

  • 5524ce5: Added the ability to use a handle or did when specifying a repo for leafletStaticLoader and leafletLiveLoader

    import { defineLiveCollection } from "astro:content";
    import { leafletLiveLoader } from "leaflet-loader-astro";
    
    const documents = defineLiveCollection({
      loader: leafletLiveLoader({ repo: "dane.computer" }), // or repo: did:plc:qttsv4e7pu2jl3ilanfgc3zn, both work!
    });
    
    export const collections = { documents };