@xyd-js/content 0.1.0-xyd.10

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/CHANGELOG.md ADDED
@@ -0,0 +1,49 @@
1
+ # @xyd-js/content
2
+
3
+ ## 0.1.0-xyd.10
4
+
5
+ ### Patch Changes
6
+
7
+ - refactor, tweaks and ui changes
8
+ - Updated dependencies
9
+ - @xyd-js/core@0.1.0-xyd.9
10
+
11
+ ## 0.1.0-xyd.9
12
+
13
+ ### Patch Changes
14
+
15
+ - ui tweaks
16
+ - Updated dependencies
17
+ - @xyd-js/core@0.1.0-xyd.8
18
+
19
+ ## 0.1.0-xyd.8
20
+
21
+ ### Patch Changes
22
+
23
+ - ui tweaks, and some code refactor
24
+ - Updated dependencies
25
+ - @xyd-js/core@0.1.0-xyd.7
26
+
27
+ ## 0.1.0-xyd.7
28
+
29
+ ### Patch Changes
30
+
31
+ - use react-router 7.1.1
32
+ - Updated dependencies
33
+ - @xyd-js/core@0.1.0-xyd.6
34
+
35
+ ## 0.1.0-xyd.6
36
+
37
+ ### Patch Changes
38
+
39
+ - another update
40
+ - Updated dependencies
41
+ - @xyd-js/core@0.1.0-xyd.5
42
+
43
+ ## 0.1.0-xyd.5
44
+
45
+ ### Patch Changes
46
+
47
+ - initial changeset bump
48
+ - Updated dependencies
49
+ - @xyd-js/core@0.1.0-xyd.4
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # @xyd-js/content
2
+
3
+ xyd content processing like mdx, markdown etc.
@@ -0,0 +1,8 @@
1
+ import { Sidebar, PageFrontMatter, Header } from '@xyd-js/core';
2
+
3
+ declare function compileBySlug(slug: string, mdx: boolean): Promise<string>;
4
+
5
+ declare function pageFrontMatters(navigation: Sidebar[]): Promise<PageFrontMatter>;
6
+ declare function filterNavigationByLevels(headers: Header[], slug: string): (nav: Sidebar) => boolean;
7
+
8
+ export { compileBySlug, filterNavigationByLevels, pageFrontMatters };