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