@compiiile/compiiile 2.8.2 → 2.8.4
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/4-pro-features.mdx +46 -0
- package/5-pro-slides.mdx +17 -0
- package/package.json +8 -8
package/4-pro-features.mdx
CHANGED
|
@@ -529,4 +529,50 @@ The `CGrid` component allows you to use a grid layout (very useful for slides):
|
|
|
529
529
|
- `template="1 1"` will make 2 columns of equal width
|
|
530
530
|
- `template="2 1"` will make 2 columns with the first one using 2/3 width
|
|
531
531
|
- You can vertically align items with the `align` prop, working like the `align-items` CSS property.
|
|
532
|
+
- You can specify the gap between components with the `gap` prop (defaults to `40px`)
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
### CCard
|
|
536
|
+
|
|
537
|
+
The `CCard` component can be used as a traditional card or a link.
|
|
538
|
+
- The `title` and `description` slots can be used for traditional cards
|
|
539
|
+
- To get it to work as a link, just provide a Markdown link as default slot, and specify a hint text if needed with the `hintText` prop
|
|
540
|
+
|
|
541
|
+
<CGrid gap="20px" template="1 1">
|
|
542
|
+
<CCard hintText="Go to the specific page">
|
|
543
|
+
[Some link](./3-pro-installation.md)
|
|
544
|
+
</CCard>
|
|
545
|
+
|
|
546
|
+
<CCard>
|
|
547
|
+
[Link (without hint)](./3-pro-installation.md)
|
|
548
|
+
</CCard>
|
|
549
|
+
|
|
550
|
+
<CCard>
|
|
551
|
+
<span slot="title">Title</span>
|
|
552
|
+
<span slot="description">Some description</span>
|
|
553
|
+
</CCard>
|
|
554
|
+
</CGrid>
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
|
|
558
|
+
<details>
|
|
559
|
+
<summary>Source</summary>
|
|
560
|
+
|
|
561
|
+
````md
|
|
562
|
+
<CGrid gap="20px" template="1 1">
|
|
563
|
+
<CCard hintText="Go to the specific page">
|
|
564
|
+
[Check compiiile-pro installation](./3-pro-installation.md)
|
|
565
|
+
</CCard>
|
|
566
|
+
|
|
567
|
+
<CCard>
|
|
568
|
+
[Link (with hover hint)](./3-pro-installation.md)
|
|
569
|
+
</CCard>
|
|
570
|
+
|
|
571
|
+
<CCard>
|
|
572
|
+
<span slot="title">Title</span>
|
|
573
|
+
<span slot="description">Some description</span>
|
|
574
|
+
</CCard>
|
|
575
|
+
</CGrid>
|
|
576
|
+
````
|
|
577
|
+
</details>
|
|
532
578
|
|
package/5-pro-slides.mdx
CHANGED
|
@@ -47,6 +47,23 @@ description: "Use icons, admonitions, mermaid diagrams, markmap mindmaps in Mark
|
|
|
47
47
|
|
|
48
48
|
---
|
|
49
49
|
|
|
50
|
+
<CGrid gap="20px" template="1 1">
|
|
51
|
+
<CCard hintText="Go to the specific page">
|
|
52
|
+
[Some link](./3-pro-installation.md)
|
|
53
|
+
</CCard>
|
|
54
|
+
|
|
55
|
+
<CCard>
|
|
56
|
+
[Link (without hint)](./3-pro-installation.md)
|
|
57
|
+
</CCard>
|
|
58
|
+
|
|
59
|
+
<CCard>
|
|
60
|
+
<span slot="title">Title</span>
|
|
61
|
+
<span slot="description">Some description</span>
|
|
62
|
+
</CCard>
|
|
63
|
+
</CGrid>
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
50
67
|
## Mindmaps
|
|
51
68
|
|
|
52
69
|
```markmap
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@compiiile/compiiile",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.8.
|
|
4
|
+
"version": "2.8.4",
|
|
5
5
|
"description": "The most convenient way to render a folder containing markdown files. Previewing and searching markdown files has never been that easy.",
|
|
6
6
|
"author": "AlbanCrepel <alban.crepel@gmail.com>",
|
|
7
7
|
"license": "GPL-3.0-only",
|
|
@@ -22,17 +22,17 @@
|
|
|
22
22
|
"url": "git+https://github.com/AlbanCrepel/compiiile.git"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@astrojs/mdx": "^2.
|
|
25
|
+
"@astrojs/mdx": "^2.2.1",
|
|
26
26
|
"@astrojs/sitemap": "^3.1.1",
|
|
27
|
-
"@astrojs/vue": "^4.0.
|
|
27
|
+
"@astrojs/vue": "^4.0.9",
|
|
28
28
|
"@babel/core": "^7.0.0-0",
|
|
29
29
|
"@babel/eslint-parser": "^7.22.15",
|
|
30
|
-
"@compiiile/compiiile-pro": "^1.0.
|
|
30
|
+
"@compiiile/compiiile-pro": "^1.0.5",
|
|
31
31
|
"@fontsource-variable/archivo": "^5.0.16",
|
|
32
32
|
"@fontsource-variable/dm-sans": "^5.0.3",
|
|
33
33
|
"@fontsource-variable/jetbrains-mono": "^5.0.18",
|
|
34
|
-
"astro": "
|
|
35
|
-
"astro-seo": "^0.8.
|
|
34
|
+
"astro": "4.2.4",
|
|
35
|
+
"astro-seo": "^0.8.3",
|
|
36
36
|
"eslint": "^8.51.0",
|
|
37
37
|
"eslint-config-prettier": "^9.0.0",
|
|
38
38
|
"eslint-plugin-vue": "^9.17.0",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"slugify": "^1.6.6",
|
|
52
52
|
"uuid": "^9.0.1",
|
|
53
53
|
"vfile-matter": "^5.0.0",
|
|
54
|
-
"vite": "
|
|
55
|
-
"vue": "^3.4.
|
|
54
|
+
"vite": "5.1.7",
|
|
55
|
+
"vue": "^3.4.21",
|
|
56
56
|
"yargs": "^17.7.2",
|
|
57
57
|
"zod": "^3.22.3"
|
|
58
58
|
},
|