@compiiile/compiiile 2.4.0 → 2.4.1
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/.compiiile/src/components/SlidesContent.vue +12 -12
- package/.compiiile/src/style/slides.scss +15 -10
- package/README.md +3 -2
- package/index.md +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div ref="slidesDeckWrapper" :class="['slides-deck-wrapper', `text-align-${
|
|
2
|
+
<div ref="slidesDeckWrapper" :class="['slides-deck-wrapper', `text-align-${textAlign}`]" :style="{ textAlign }">
|
|
3
3
|
<slot></slot>
|
|
4
4
|
</div>
|
|
5
5
|
</template>
|
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
<script>
|
|
8
8
|
export default {
|
|
9
9
|
name: "SlidesContent",
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
10
|
+
props: {
|
|
11
|
+
textAlign: {
|
|
12
|
+
type: String,
|
|
13
|
+
default: "center"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
16
|
data() {
|
|
17
17
|
return {
|
|
18
18
|
loaded: false
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
const Reveal = (await import("reveal.js")).default(deck, {
|
|
32
32
|
embedded: true,
|
|
33
33
|
pdfMaxPagesPerSlide: 1,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
34
|
+
width: "100%",
|
|
35
|
+
height: "100%",
|
|
36
|
+
margin: 0,
|
|
37
|
+
minScale: 1,
|
|
38
|
+
maxScale: 1
|
|
39
39
|
})
|
|
40
40
|
|
|
41
41
|
await Reveal.initialize({
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
font-size: 12vmin;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
h2{
|
|
51
|
+
h2 {
|
|
52
52
|
font-size: 6vmin;
|
|
53
53
|
}
|
|
54
54
|
|
|
@@ -111,16 +111,21 @@
|
|
|
111
111
|
color: var(--slides-controls) !important;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
.slides-deck-wrapper.text-align-left
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
114
|
+
.slides-deck-wrapper.text-align-left {
|
|
115
|
+
blockquote,
|
|
116
|
+
pre {
|
|
117
|
+
margin: 0;
|
|
118
|
+
}
|
|
118
119
|
}
|
|
119
120
|
|
|
120
|
-
.slides-deck-wrapper.text-align-right{
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
121
|
+
.slides-deck-wrapper.text-align-right {
|
|
122
|
+
blockquote,
|
|
123
|
+
pre {
|
|
124
|
+
margin-left: auto;
|
|
125
|
+
margin-right: 0;
|
|
126
|
+
}
|
|
125
127
|
}
|
|
126
128
|
|
|
129
|
+
html.reveal-print .reveal .slides section {
|
|
130
|
+
padding: var(--slide-padding-vertical) var(--slide-padding-horizontal) !important;
|
|
131
|
+
}
|
package/README.md
CHANGED
|
@@ -149,7 +149,7 @@ The home page of Compiiile (`/`) points to a `README.md` file located at the roo
|
|
|
149
149
|
Here is the list of parameters that you can set to customize Compiiile (none are required):
|
|
150
150
|
|
|
151
151
|
| Parameter | Type | Description |
|
|
152
|
-
|
|
152
|
+
| ---------------------- | ---------- | ----------------------------------------------------------------------------------------------- |
|
|
153
153
|
| `title` | `string` | The title to display on the top-left of the User Interface |
|
|
154
154
|
| `description` | `string` | The description that is rendered by default for the SEO |
|
|
155
155
|
| `logo` | `string` | The relative path of the logo to display in the TopBar and as favicon |
|
|
@@ -278,7 +278,8 @@ You can read more about it and the roadmap in the [dedicated contributing guide]
|
|
|
278
278
|
## Community projects
|
|
279
279
|
|
|
280
280
|
Here is a list of projects related to Compiiile developed by the community:
|
|
281
|
-
|
|
281
|
+
|
|
282
|
+
- [compiiile-actions-cloudflare-pages](https://github.com/marketplace/actions/compiiile-cloudflare-pages): A simple GitHub action to deploy a Compiiile site to CloudFlare pages
|
|
282
283
|
|
|
283
284
|
## Support
|
|
284
285
|
|
package/index.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# Index
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@compiiile/compiiile",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.4.
|
|
4
|
+
"version": "2.4.1",
|
|
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",
|