@farming-labs/farmjs 0.2.99 → 0.2.102
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/dist/browser-css.generated.d.ts +3 -0
- package/dist/browser-css.generated.d.ts.map +1 -0
- package/dist/browser-css.generated.js +4 -0
- package/dist/browser-css.generated.js.map +1 -0
- package/dist/config.d.ts +3 -0
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +6 -6
- package/dist/config.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/module-map.d.ts +1 -1
- package/dist/module-map.d.ts.map +1 -1
- package/dist/module-map.js +13 -2
- package/dist/module-map.js.map +1 -1
- package/dist/react.d.ts.map +1 -1
- package/dist/react.js +1 -1
- package/dist/react.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +2 -3
- package/dist/server.js.map +1 -1
- package/dist/vite.d.ts +15 -1
- package/dist/vite.d.ts.map +1 -1
- package/dist/vite.js +13 -5
- package/dist/vite.js.map +1 -1
- package/package.json +8 -7
package/README.md
CHANGED
|
@@ -37,6 +37,18 @@ export default withDocs(defineConfig({}), {
|
|
|
37
37
|
});
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
+
Code highlighting is compiled by the adapter's MDX pipeline. Pick a specific
|
|
41
|
+
Shiki palette at that boundary without replacing the rest of the adapter:
|
|
42
|
+
|
|
43
|
+
```ts
|
|
44
|
+
export default withDocs(defineConfig({}), {
|
|
45
|
+
codeBlockThemes: {
|
|
46
|
+
light: "github-light-default",
|
|
47
|
+
dark: "vesper",
|
|
48
|
+
},
|
|
49
|
+
});
|
|
50
|
+
```
|
|
51
|
+
|
|
40
52
|
Import the selected theme from the application-owned global stylesheet. This
|
|
41
53
|
also gives the application a normal place for project-specific overrides:
|
|
42
54
|
|