leaflet.pub astro loader
1# leaflet-loader-astro
2
3## 1.1.0
4
5### Minor Changes
6
7- 6d70cc6: Added support for these leaflet blocks:
8
9 - ul/li
10 - math
11 - code
12 - img
13 - hr
14
15 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
16
17- 5524ce5: Added the ability to use a handle or did when specifying a repo for leafletStaticLoader and leafletLiveLoader
18
19 ```ts
20 import { defineLiveCollection } from "astro:content";
21 import { leafletLiveLoader } from "leaflet-loader-astro";
22
23 const documents = defineLiveCollection({
24 loader: leafletLiveLoader({ repo: "dane.computer" }), // or repo: did:plc:qttsv4e7pu2jl3ilanfgc3zn, both work!
25 });
26
27 export const collections = { documents };
28 ```
29
30## 1.0.0
31
32### Major Changes
33
34- b4309c0: This is the initial release for `leaflet-loader-astro`