@compiiile/compiiile 2.13.0 → 2.13.2

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.
@@ -9,6 +9,7 @@
9
9
  .reveal {
10
10
  height: 100vh;
11
11
  width: 100vw;
12
+ font-family: "DM Sans Variable", sans-serif !important;
12
13
 
13
14
  .slides {
14
15
  text-align: inherit;
@@ -68,8 +69,6 @@
68
69
  font-size: 2.5vmin;
69
70
  }
70
71
 
71
- font-family: "DM Sans Variable", sans-serif !important;
72
-
73
72
  p,
74
73
  li,
75
74
  *:not(.slide-number) a {
package/README.md CHANGED
@@ -183,7 +183,7 @@ Other frontmatter keys are handled:
183
183
  - `textAlign`: possible values
184
184
  are [CSS text-align values](https://developer.mozilla.org/en-US/docs/Web/CSS/text-align) (`left`, `center`, ...). This
185
185
  changes the default text alignment in slides. The default value is `center`.
186
- - `ignore` : Boolean value (`true` or `false`) to ignore the current file and exclude it from Compiiile (the file is not ignored by default).
186
+ - `ignore` : Boolean value (`true` or `false`) to ignore the current file and exclude it from Compiiile (the file is not ignored by default).
187
187
 
188
188
  > :bulb: You can override slides theme by passing it to a `theme` query parameter in your slide url (for example `/s/slides?theme=light`). See the `theme` config parameter below for valid values.
189
189
 
@@ -342,12 +342,16 @@ keep this project really simple and straightforward).
342
342
 
343
343
  You can read more about it and the roadmap in the [dedicated contributing guide](./CONTRIBUTING.md).
344
344
 
345
- ## Community projects
345
+ ## Official integrations & community projects
346
+
347
+ You can add features to Compiiile by using the following projects:
348
+
349
+ - [compiiile-pro](https://compiiile.me/c/3-pro-installation): Enhance your Markdown files, add diagrams, mindmaps, admonitions, and ready-made components
350
+ - [compiiile-print](https://github.com/compiiile/compiiile-print): Add a print ready page containing all your Markdown files
346
351
 
347
352
  Here is a list of projects related to Compiiile developed by the community:
348
353
 
349
- - [compiiile-actions-cloudflare-pages](https://github.com/marketplace/actions/compiiile-cloudflare-pages): A simple
350
- GitHub action to deploy a Compiiile site to CloudFlare pages
354
+ - [compiiile-actions-cloudflare-pages](https://github.com/marketplace/actions/compiiile-cloudflare-pages): A simple GitHub action to deploy a Compiiile site to CloudFlare pages
351
355
 
352
356
  ## Support
353
357
 
@@ -361,8 +365,8 @@ You can always contact me for a custom use of this project and any licence issue
361
365
 
362
366
  Thank you :heart:
363
367
 
364
- ## Licence
368
+ ## License
365
369
 
366
370
  This project is licensed under the terms of the GNU General Public License v3.0.
367
371
 
368
- See [LICENCE.md](./LICENCE.md).
372
+ See [LICENSE.md](./LICENSE.md).
package/bin/config.js CHANGED
@@ -10,7 +10,7 @@ import markdownConfig from "./vitePluginCompiiile/markdownConfig.js"
10
10
  import resolvePackagePath from "resolve-package-path"
11
11
  import requireg from "requireg"
12
12
  import sitemap from "@astrojs/sitemap"
13
- import {loadConfig} from "c12"
13
+ import { loadConfig } from "c12"
14
14
  const source = process.cwd()
15
15
  process.env.COMPIIILE_SOURCE = source
16
16
 
@@ -28,7 +28,7 @@ const packageJSON = JSON.parse(await readFile(fileURLToPath(new URL("../package.
28
28
  */
29
29
  let configFromFile = {}
30
30
  try {
31
- configFromFile = (await loadConfig({ name: "compiiile"})).config
31
+ configFromFile = (await loadConfig({ name: "compiiile" })).config
32
32
  } catch {
33
33
  // This means that no config file was provided: getting parameters from script parameters instead
34
34
  }
@@ -108,7 +108,6 @@ process.env.VITE_COMPIIILE_THEME = argv.theme ?? "auto"
108
108
  process.env.VITE_COMPIIILE_DATA = JSON.stringify(argv.data ?? {})
109
109
  process.env.VITE_COMPIIILE_USE_AUTO_TITLES = /true/i.test(argv.useAutoTitles) // defaults to `false` if not set or not equal to `true`
110
110
 
111
-
112
111
  // Get command and set env
113
112
  const IS_DEV = argv._.length === 0 || argv._.includes("dev")
114
113
  const IS_BUILD = argv._.includes("build")
@@ -122,7 +121,6 @@ if (IS_DEV) {
122
121
  process.env.NODE_ENV = NODE_ENV_PRODUCTION
123
122
  }
124
123
 
125
-
126
124
  // Handling logo and favicon
127
125
  process.env.VITE_COMPIIILE_LOGO = null
128
126
 
@@ -203,7 +201,7 @@ const astroConfig = {
203
201
  kleur: resolve("kleur"),
204
202
  clsx: resolve("clsx"),
205
203
  "html-escaper": resolve("html-escaper"),
206
- ...(process.env.NODE_ENV === NODE_ENV_PRODUCTION ? {cssesc: resolve("cssesc")} : {}), // Not included in dev because of the 'module is not defined' error otherwise
204
+ ...(process.env.NODE_ENV === NODE_ENV_PRODUCTION ? { cssesc: resolve("cssesc") } : {}), // Not included in dev because of the 'module is not defined' error otherwise
207
205
  mrmime: resolve("mrmime"),
208
206
  "@vue/reactivity": resolve("@vue/reactivity"),
209
207
  "@vue/shared": resolve("@vue/shared"),
@@ -122,9 +122,9 @@ export default class {
122
122
 
123
123
  const meta = renderedMarkdown.metadata.frontmatter
124
124
 
125
- if(meta.ignore){
126
- const fileIndex = fileArray.findIndex(f => f.uuid === fileListItem.uuid)
127
- if(fileIndex > -1){
125
+ if (meta.ignore) {
126
+ const fileIndex = fileArray.findIndex((f) => f.uuid === fileListItem.uuid)
127
+ if (fileIndex > -1) {
128
128
  fileArray.splice(fileIndex, 1)
129
129
  }
130
130
  continue
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@compiiile/compiiile",
3
3
  "private": false,
4
- "version": "2.13.0",
4
+ "version": "2.13.2",
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",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "repository": {
21
21
  "type": "git",
22
- "url": "git+https://github.com/AlbanCrepel/compiiile.git"
22
+ "url": "git+https://github.com/compiiile/compiiile.git"
23
23
  },
24
24
  "dependencies": {
25
25
  "@astrojs/mdx": "^2.3.1",
File without changes