diff --git a/.astro/types.d.ts b/.astro/types.d.ts index 4ca0707..7c704e7 100644 --- a/.astro/types.d.ts +++ b/.astro/types.d.ts @@ -190,350 +190,350 @@ declare module 'astro:content' { slug: "guide"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".mdx"] }; "guide/my-first-hello-world.md": { id: "guide/my-first-hello-world.md"; slug: "guide/my-first-hello-world"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "guide/my-first-project.md": { id: "guide/my-first-project.md"; slug: "guide/my-first-project"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/build-system/commands.md": { id: "references/build-system/commands.md"; slug: "references/build-system/commands"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/build-system/index.md": { id: "references/build-system/index.md"; slug: "references/build-system"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/build-system/project.md": { id: "references/build-system/project.md"; slug: "references/build-system/project"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/development/changes.md": { id: "references/development/changes.md"; slug: "references/development/changes"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/development/index.md": { id: "references/development/index.md"; slug: "references/development"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/development/rejectedideas.md": { id: "references/development/rejectedideas.md"; slug: "references/development/rejectedideas"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/anyinterfaces.md": { id: "references/docs/anyinterfaces.md"; slug: "references/docs/anyinterfaces"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/arrays.md": { id: "references/docs/arrays.md"; slug: "references/docs/arrays"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/asm.md": { id: "references/docs/asm.md"; slug: "references/docs/asm"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/attributes.md": { id: "references/docs/attributes.md"; slug: "references/docs/attributes"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/builtins.md": { id: "references/docs/builtins.md"; slug: "references/docs/builtins"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/changesfromc.md": { id: "references/docs/changesfromc.md"; slug: "references/docs/changesfromc"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/cinterop.md": { id: "references/docs/cinterop.md"; slug: "references/docs/cinterop"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/comments.md": { id: "references/docs/comments.md"; slug: "references/docs/comments"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/compare.md": { id: "references/docs/compare.md"; slug: "references/docs/compare"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/compiletime.md": { id: "references/docs/compiletime.md"; slug: "references/docs/compiletime"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/contracts.md": { id: "references/docs/contracts.md"; slug: "references/docs/contracts"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/conversion.md": { id: "references/docs/conversion.md"; slug: "references/docs/conversion"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/define.md": { id: "references/docs/define.md"; slug: "references/docs/define"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/examples.md": { id: "references/docs/examples.md"; slug: "references/docs/examples"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/expressions.md": { id: "references/docs/expressions.md"; slug: "references/docs/expressions"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/faq.md": { id: "references/docs/faq.md"; slug: "references/docs/faq"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/functions.md": { id: "references/docs/functions.md"; slug: "references/docs/functions"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/generics.md": { id: "references/docs/generics.md"; slug: "references/docs/generics"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/libraries.md": { id: "references/docs/libraries.md"; slug: "references/docs/libraries"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/macros.md": { id: "references/docs/macros.md"; slug: "references/docs/macros"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/modules.md": { id: "references/docs/modules.md"; slug: "references/docs/modules"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/naming.md": { id: "references/docs/naming.md"; slug: "references/docs/naming"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/operators.md": { id: "references/docs/operators.md"; slug: "references/docs/operators"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/optionals.md": { id: "references/docs/optionals.md"; slug: "references/docs/optionals"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/precedence.md": { id: "references/docs/precedence.md"; slug: "references/docs/precedence"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/reflection.md": { id: "references/docs/reflection.md"; slug: "references/docs/reflection"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/sample.md": { id: "references/docs/sample.md"; slug: "references/docs/sample"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/specification.md": { id: "references/docs/specification.md"; slug: "references/docs/specification"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/standard_library.md": { id: "references/docs/standard_library.md"; slug: "references/docs/standard_library"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/statements.md": { id: "references/docs/statements.md"; slug: "references/docs/statements"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/syntax.md": { id: "references/docs/syntax.md"; slug: "references/docs/syntax"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/types.md": { id: "references/docs/types.md"; slug: "references/docs/types"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/undefinedbehaviour.md": { id: "references/docs/undefinedbehaviour.md"; slug: "references/docs/undefinedbehaviour"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/variables.md": { id: "references/docs/variables.md"; slug: "references/docs/variables"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/docs/vectors.md": { id: "references/docs/vectors.md"; slug: "references/docs/vectors"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/getting-started/allfeatures.md": { id: "references/getting-started/allfeatures.md"; slug: "references/getting-started/allfeatures"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/getting-started/firstproject.md": { id: "references/getting-started/firstproject.md"; slug: "references/getting-started/firstproject"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/getting-started/prebuilt-binaries.md": { id: "references/getting-started/prebuilt-binaries.md"; slug: "references/getting-started/prebuilt-binaries"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/getting-started/primer.md": { id: "references/getting-started/primer.md"; slug: "references/getting-started/primer"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/getting-started/setup.md": { id: "references/getting-started/setup.md"; slug: "references/getting-started/setup"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".md"] }; "references/index.mdx": { id: "references/index.mdx"; slug: "references"; body: string; collection: "docs"; - data: any + data: InferEntrySchema<"docs"> } & { render(): Render[".mdx"] }; }; @@ -545,5 +545,5 @@ declare module 'astro:content' { type AnyEntryMap = ContentEntryMap & DataEntryMap; - type ContentConfig = never; + type ContentConfig = typeof import("../src/content/config.js"); } diff --git a/package-lock.json b/package-lock.json index 7835965..ea533d2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,6 +13,7 @@ "@astrojs/tailwind": "^5.0.4", "@preline/overlay": "^2.0.2", "astro": "^4.0.7", + "astro-expressive-code": "^0.32.3", "boxicons": "^2.1.4", "preline": "^2.0.3", "tailwindcss": "^3.4.0" @@ -148,6 +149,627 @@ "astro": "^4.0.0" } }, + "node_modules/@astrojs/starlight/node_modules/@expressive-code/core": { + "version": "0.30.2", + "resolved": "https://registry.npmjs.org/@expressive-code/core/-/core-0.30.2.tgz", + "integrity": "sha512-haWKg3hb1Pc9nwfE+ceolRRhU/dM4pBJtWvc08vXvmZh4fEZyvBS0B3qdbNncUif/1YEfxi73PMSk1HtctHmBg==", + "dependencies": { + "@ctrl/tinycolor": "^3.6.0", + "hast-util-to-html": "^8.0.4", + "hastscript": "^7.2.0", + "postcss": "^8.4.21", + "postcss-nested": "^6.0.1" + } + }, + "node_modules/@astrojs/starlight/node_modules/@expressive-code/core/node_modules/@types/hast": { + "version": "2.3.10", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.10.tgz", + "integrity": "sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw==", + "dependencies": { + "@types/unist": "^2" + } + }, + "node_modules/@astrojs/starlight/node_modules/@expressive-code/core/node_modules/hastscript": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-7.2.0.tgz", + "integrity": "sha512-TtYPq24IldU8iKoJQqvZOuhi5CyCQRAbvDOX0x1eW6rsHSxa/1i2CCiptNTotGHJ3VoHRGmqiv6/D3q113ikkw==", + "dependencies": { + "@types/hast": "^2.0.0", + "comma-separated-tokens": "^2.0.0", + "hast-util-parse-selector": "^3.0.0", + "property-information": "^6.0.0", + "space-separated-tokens": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/@expressive-code/plugin-frames": { + "version": "0.30.2", + "resolved": "https://registry.npmjs.org/@expressive-code/plugin-frames/-/plugin-frames-0.30.2.tgz", + "integrity": "sha512-vsY275FmVMPXz2n6lCirFArqUTogl2tVqWldhRaLUwz92Zm6y90nZrEKLQlZfdD0D86jrlW350SPRofVm/ISnw==", + "dependencies": { + "@expressive-code/core": "^0.30.2", + "hastscript": "^7.2.0" + } + }, + "node_modules/@astrojs/starlight/node_modules/@expressive-code/plugin-frames/node_modules/@types/hast": { + "version": "2.3.10", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.10.tgz", + "integrity": "sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw==", + "dependencies": { + "@types/unist": "^2" + } + }, + "node_modules/@astrojs/starlight/node_modules/@expressive-code/plugin-frames/node_modules/hastscript": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-7.2.0.tgz", + "integrity": "sha512-TtYPq24IldU8iKoJQqvZOuhi5CyCQRAbvDOX0x1eW6rsHSxa/1i2CCiptNTotGHJ3VoHRGmqiv6/D3q113ikkw==", + "dependencies": { + "@types/hast": "^2.0.0", + "comma-separated-tokens": "^2.0.0", + "hast-util-parse-selector": "^3.0.0", + "property-information": "^6.0.0", + "space-separated-tokens": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/@expressive-code/plugin-shiki": { + "version": "0.30.2", + "resolved": "https://registry.npmjs.org/@expressive-code/plugin-shiki/-/plugin-shiki-0.30.2.tgz", + "integrity": "sha512-9tEHuJJpeln9LqyXk91YHs9DVEamde4mrXVT7XS0v3KgthAOqFyFeldVE1WJVN1sMqEP+c3W080g33+PjJOY6Q==", + "dependencies": { + "@expressive-code/core": "^0.30.2", + "shikiji": "^0.8.0" + } + }, + "node_modules/@astrojs/starlight/node_modules/@expressive-code/plugin-text-markers": { + "version": "0.30.2", + "resolved": "https://registry.npmjs.org/@expressive-code/plugin-text-markers/-/plugin-text-markers-0.30.2.tgz", + "integrity": "sha512-SUz6f2je7zgG6elcYmBdZczO4JfF/1VVCUTwWWdwuYHDSfyfpS9ySQBbERzH8zGGfT6FU62V0MwXzVxrNujeKA==", + "dependencies": { + "@expressive-code/core": "^0.30.2", + "hastscript": "^7.2.0", + "unist-util-visit-parents": "^5.1.3" + } + }, + "node_modules/@astrojs/starlight/node_modules/@expressive-code/plugin-text-markers/node_modules/@types/hast": { + "version": "2.3.10", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.10.tgz", + "integrity": "sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw==", + "dependencies": { + "@types/unist": "^2" + } + }, + "node_modules/@astrojs/starlight/node_modules/@expressive-code/plugin-text-markers/node_modules/hastscript": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-7.2.0.tgz", + "integrity": "sha512-TtYPq24IldU8iKoJQqvZOuhi5CyCQRAbvDOX0x1eW6rsHSxa/1i2CCiptNTotGHJ3VoHRGmqiv6/D3q113ikkw==", + "dependencies": { + "@types/hast": "^2.0.0", + "comma-separated-tokens": "^2.0.0", + "hast-util-parse-selector": "^3.0.0", + "property-information": "^6.0.0", + "space-separated-tokens": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/@types/unist": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", + "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + }, + "node_modules/@astrojs/starlight/node_modules/astro-expressive-code": { + "version": "0.30.2", + "resolved": "https://registry.npmjs.org/astro-expressive-code/-/astro-expressive-code-0.30.2.tgz", + "integrity": "sha512-W35TZcsYT5WTcLh+HeSZGK9zvkRvzE0PM1dVWX1EwKfgdGyUMb7W8L3XWkzsnaA9VxdkbCNr4y8PJ7KMRLEf6g==", + "dependencies": { + "remark-expressive-code": "^0.30.2" + }, + "peerDependencies": { + "astro": "^3.3.0 || ^4.0.0-beta" + } + }, + "node_modules/@astrojs/starlight/node_modules/expressive-code": { + "version": "0.30.2", + "resolved": "https://registry.npmjs.org/expressive-code/-/expressive-code-0.30.2.tgz", + "integrity": "sha512-xnQIUxFduqomZLP7oJEzA4+yi9Yy3lH3ahvbpjVFA7kn9sxHsv5ZamJC0JCctnkAerwomKu9S7rnhqhLT73T2g==", + "dependencies": { + "@expressive-code/core": "^0.30.2", + "@expressive-code/plugin-frames": "^0.30.2", + "@expressive-code/plugin-shiki": "^0.30.2", + "@expressive-code/plugin-text-markers": "^0.30.2" + } + }, + "node_modules/@astrojs/starlight/node_modules/hast-util-from-parse5": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/hast-util-from-parse5/-/hast-util-from-parse5-7.1.2.tgz", + "integrity": "sha512-Nz7FfPBuljzsN3tCQ4kCBKqdNhQE2l0Tn+X1ubgKBPRoiDIu1mL08Cfw4k7q71+Duyaw7DXDN+VTAp4Vh3oCOw==", + "dependencies": { + "@types/hast": "^2.0.0", + "@types/unist": "^2.0.0", + "hastscript": "^7.0.0", + "property-information": "^6.0.0", + "vfile": "^5.0.0", + "vfile-location": "^4.0.0", + "web-namespaces": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/hast-util-from-parse5/node_modules/@types/hast": { + "version": "2.3.10", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.10.tgz", + "integrity": "sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw==", + "dependencies": { + "@types/unist": "^2" + } + }, + "node_modules/@astrojs/starlight/node_modules/hast-util-from-parse5/node_modules/hastscript": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-7.2.0.tgz", + "integrity": "sha512-TtYPq24IldU8iKoJQqvZOuhi5CyCQRAbvDOX0x1eW6rsHSxa/1i2CCiptNTotGHJ3VoHRGmqiv6/D3q113ikkw==", + "dependencies": { + "@types/hast": "^2.0.0", + "comma-separated-tokens": "^2.0.0", + "hast-util-parse-selector": "^3.0.0", + "property-information": "^6.0.0", + "space-separated-tokens": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/hast-util-from-parse5/node_modules/vfile": { + "version": "5.3.7", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-5.3.7.tgz", + "integrity": "sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==", + "dependencies": { + "@types/unist": "^2.0.0", + "is-buffer": "^2.0.0", + "unist-util-stringify-position": "^3.0.0", + "vfile-message": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/hast-util-parse-selector": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/hast-util-parse-selector/-/hast-util-parse-selector-3.1.1.tgz", + "integrity": "sha512-jdlwBjEexy1oGz0aJ2f4GKMaVKkA9jwjr4MjAAI22E5fM/TXVZHuS5OpONtdeIkRKqAaryQ2E9xNQxijoThSZA==", + "dependencies": { + "@types/hast": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/hast-util-parse-selector/node_modules/@types/hast": { + "version": "2.3.10", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.10.tgz", + "integrity": "sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw==", + "dependencies": { + "@types/unist": "^2" + } + }, + "node_modules/@astrojs/starlight/node_modules/hast-util-raw": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/hast-util-raw/-/hast-util-raw-7.2.3.tgz", + "integrity": "sha512-RujVQfVsOrxzPOPSzZFiwofMArbQke6DJjnFfceiEbFh7S05CbPt0cYN+A5YeD3pso0JQk6O1aHBnx9+Pm2uqg==", + "dependencies": { + "@types/hast": "^2.0.0", + "@types/parse5": "^6.0.0", + "hast-util-from-parse5": "^7.0.0", + "hast-util-to-parse5": "^7.0.0", + "html-void-elements": "^2.0.0", + "parse5": "^6.0.0", + "unist-util-position": "^4.0.0", + "unist-util-visit": "^4.0.0", + "vfile": "^5.0.0", + "web-namespaces": "^2.0.0", + "zwitch": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/hast-util-raw/node_modules/@types/hast": { + "version": "2.3.10", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.10.tgz", + "integrity": "sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw==", + "dependencies": { + "@types/unist": "^2" + } + }, + "node_modules/@astrojs/starlight/node_modules/hast-util-raw/node_modules/unist-util-visit": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", + "integrity": "sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg==", + "dependencies": { + "@types/unist": "^2.0.0", + "unist-util-is": "^5.0.0", + "unist-util-visit-parents": "^5.1.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/hast-util-raw/node_modules/vfile": { + "version": "5.3.7", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-5.3.7.tgz", + "integrity": "sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==", + "dependencies": { + "@types/unist": "^2.0.0", + "is-buffer": "^2.0.0", + "unist-util-stringify-position": "^3.0.0", + "vfile-message": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/hast-util-to-html": { + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-8.0.4.tgz", + "integrity": "sha512-4tpQTUOr9BMjtYyNlt0P50mH7xj0Ks2xpo8M943Vykljf99HW6EzulIoJP1N3eKOSScEHzyzi9dm7/cn0RfGwA==", + "dependencies": { + "@types/hast": "^2.0.0", + "@types/unist": "^2.0.0", + "ccount": "^2.0.0", + "comma-separated-tokens": "^2.0.0", + "hast-util-raw": "^7.0.0", + "hast-util-whitespace": "^2.0.0", + "html-void-elements": "^2.0.0", + "property-information": "^6.0.0", + "space-separated-tokens": "^2.0.0", + "stringify-entities": "^4.0.0", + "zwitch": "^2.0.4" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/hast-util-to-html/node_modules/@types/hast": { + "version": "2.3.10", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.10.tgz", + "integrity": "sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw==", + "dependencies": { + "@types/unist": "^2" + } + }, + "node_modules/@astrojs/starlight/node_modules/hast-util-to-parse5": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/hast-util-to-parse5/-/hast-util-to-parse5-7.1.0.tgz", + "integrity": "sha512-YNRgAJkH2Jky5ySkIqFXTQiaqcAtJyVE+D5lkN6CdtOqrnkLfGYYrEcKuHOJZlp+MwjSwuD3fZuawI+sic/RBw==", + "dependencies": { + "@types/hast": "^2.0.0", + "comma-separated-tokens": "^2.0.0", + "property-information": "^6.0.0", + "space-separated-tokens": "^2.0.0", + "web-namespaces": "^2.0.0", + "zwitch": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/hast-util-to-parse5/node_modules/@types/hast": { + "version": "2.3.10", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.10.tgz", + "integrity": "sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw==", + "dependencies": { + "@types/unist": "^2" + } + }, + "node_modules/@astrojs/starlight/node_modules/hast-util-whitespace": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-2.0.1.tgz", + "integrity": "sha512-nAxA0v8+vXSBDt3AnRUNjyRIQ0rD+ntpbAp4LnPkumc5M9yUbSMa4XDU9Q6etY4f1Wp4bNgvc1yjiZtsTTrSng==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/html-void-elements": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-2.0.1.tgz", + "integrity": "sha512-0quDb7s97CfemeJAnW9wC0hw78MtW7NU3hqtCD75g2vFlDLt36llsYD7uB7SUzojLMP24N5IatXf7ylGXiGG9A==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/@astrojs/starlight/node_modules/parse5": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", + "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==" + }, + "node_modules/@astrojs/starlight/node_modules/remark-expressive-code": { + "version": "0.30.2", + "resolved": "https://registry.npmjs.org/remark-expressive-code/-/remark-expressive-code-0.30.2.tgz", + "integrity": "sha512-b6JnytW+CChkp2f29DtQsoFo80SKAJibvalm0SvmuReqQvN6OndPAvF7q5M9NCIYH/WB5H75G/kzSaeas+9Dyg==", + "dependencies": { + "expressive-code": "^0.30.2", + "hast-util-to-html": "^8.0.4", + "unist-util-visit": "^4.1.2" + } + }, + "node_modules/@astrojs/starlight/node_modules/remark-expressive-code/node_modules/unist-util-visit": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", + "integrity": "sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg==", + "dependencies": { + "@types/unist": "^2.0.0", + "unist-util-is": "^5.0.0", + "unist-util-visit-parents": "^5.1.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/shikiji": { + "version": "0.8.7", + "resolved": "https://registry.npmjs.org/shikiji/-/shikiji-0.8.7.tgz", + "integrity": "sha512-j5usxwI0yHkDTHOuhuSJl9+wT5CNYeYO82dJMSJBlJ/NYT5SIebGcPoL6y9QOyH15wGrJC4LOP2nz5k8mUDGRQ==", + "dependencies": { + "hast-util-to-html": "^9.0.0" + } + }, + "node_modules/@astrojs/starlight/node_modules/shikiji/node_modules/@types/unist": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.2.tgz", + "integrity": "sha512-dqId9J8K/vGi5Zr7oo212BGii5m3q5Hxlkwy3WpYuKPklmBEvsbMYYyLxAQpSffdLl/gdW0XUpKWFvYmyoWCoQ==" + }, + "node_modules/@astrojs/starlight/node_modules/shikiji/node_modules/hast-util-from-parse5": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/hast-util-from-parse5/-/hast-util-from-parse5-8.0.1.tgz", + "integrity": "sha512-Er/Iixbc7IEa7r/XLtuG52zoqn/b3Xng/w6aZQ0xGVxzhw5xUFxcRqdPzP6yFi/4HBYRaifaI5fQ1RH8n0ZeOQ==", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "devlop": "^1.0.0", + "hastscript": "^8.0.0", + "property-information": "^6.0.0", + "vfile": "^6.0.0", + "vfile-location": "^5.0.0", + "web-namespaces": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/shikiji/node_modules/hast-util-raw": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/hast-util-raw/-/hast-util-raw-9.0.2.tgz", + "integrity": "sha512-PldBy71wO9Uq1kyaMch9AHIghtQvIwxBUkv823pKmkTM3oV1JxtsTNYdevMxvUHqcnOAuO65JKU2+0NOxc2ksA==", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "@ungap/structured-clone": "^1.0.0", + "hast-util-from-parse5": "^8.0.0", + "hast-util-to-parse5": "^8.0.0", + "html-void-elements": "^3.0.0", + "mdast-util-to-hast": "^13.0.0", + "parse5": "^7.0.0", + "unist-util-position": "^5.0.0", + "unist-util-visit": "^5.0.0", + "vfile": "^6.0.0", + "web-namespaces": "^2.0.0", + "zwitch": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/shikiji/node_modules/hast-util-to-html": { + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-9.0.0.tgz", + "integrity": "sha512-IVGhNgg7vANuUA2XKrT6sOIIPgaYZnmLx3l/CCOAK0PtgfoHrZwX7jCSYyFxHTrGmC6S9q8aQQekjp4JPZF+cw==", + "dependencies": { + "@types/hast": "^3.0.0", + "@types/unist": "^3.0.0", + "ccount": "^2.0.0", + "comma-separated-tokens": "^2.0.0", + "hast-util-raw": "^9.0.0", + "hast-util-whitespace": "^3.0.0", + "html-void-elements": "^3.0.0", + "mdast-util-to-hast": "^13.0.0", + "property-information": "^6.0.0", + "space-separated-tokens": "^2.0.0", + "stringify-entities": "^4.0.0", + "zwitch": "^2.0.4" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/shikiji/node_modules/hast-util-to-parse5": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/hast-util-to-parse5/-/hast-util-to-parse5-8.0.0.tgz", + "integrity": "sha512-3KKrV5ZVI8if87DVSi1vDeByYrkGzg4mEfeu4alwgmmIeARiBLKCZS2uw5Gb6nU9x9Yufyj3iudm6i7nl52PFw==", + "dependencies": { + "@types/hast": "^3.0.0", + "comma-separated-tokens": "^2.0.0", + "devlop": "^1.0.0", + "property-information": "^6.0.0", + "space-separated-tokens": "^2.0.0", + "web-namespaces": "^2.0.0", + "zwitch": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/shikiji/node_modules/hast-util-whitespace": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz", + "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==", + "dependencies": { + "@types/hast": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/shikiji/node_modules/html-void-elements": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-3.0.0.tgz", + "integrity": "sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/@astrojs/starlight/node_modules/shikiji/node_modules/parse5": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-7.1.2.tgz", + "integrity": "sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==", + "dependencies": { + "entities": "^4.4.0" + }, + "funding": { + "url": "https://github.com/inikulin/parse5?sponsor=1" + } + }, + "node_modules/@astrojs/starlight/node_modules/shikiji/node_modules/unist-util-position": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-5.0.0.tgz", + "integrity": "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==", + "dependencies": { + "@types/unist": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/shikiji/node_modules/vfile-location": { + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-5.0.2.tgz", + "integrity": "sha512-NXPYyxyBSH7zB5U6+3uDdd6Nybz6o6/od9rk8bp9H8GR3L+cm/fC0uUTbqBmUTnMCUDslAGBOIKNfvvb+gGlDg==", + "dependencies": { + "@types/unist": "^3.0.0", + "vfile": "^6.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/unist-util-is": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-5.2.1.tgz", + "integrity": "sha512-u9njyyfEh43npf1M+yGKDGVPbY/JWEemg5nH05ncKPfi+kBbKBJoTdsogMu33uhytuLlv9y0O7GH7fEdwLdLQw==", + "dependencies": { + "@types/unist": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/unist-util-position": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-4.0.4.tgz", + "integrity": "sha512-kUBE91efOWfIVBo8xzh/uZQ7p9ffYRtUbMRZBNFYwf0RK8koUMx6dGUfwylLOKmaT2cs4wSW96QoYUSXAyEtpg==", + "dependencies": { + "@types/unist": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/unist-util-stringify-position": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", + "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", + "dependencies": { + "@types/unist": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/unist-util-visit-parents": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-5.1.3.tgz", + "integrity": "sha512-x6+y8g7wWMyQhL1iZfhIPhDAs7Xwbn9nRosDXl7qoPTSCy0yNxnKc+hWokFifWQIDGi154rdUqKvbCa4+1kLhg==", + "dependencies": { + "@types/unist": "^2.0.0", + "unist-util-is": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/vfile-location": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-4.1.0.tgz", + "integrity": "sha512-YF23YMyASIIJXpktBa4vIGLJ5Gs88UB/XePgqPmTa7cDA+JeO3yclbpheQYCHjVHBn/yePzrXuygIL+xbvRYHw==", + "dependencies": { + "@types/unist": "^2.0.0", + "vfile": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/vfile-location/node_modules/vfile": { + "version": "5.3.7", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-5.3.7.tgz", + "integrity": "sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==", + "dependencies": { + "@types/unist": "^2.0.0", + "is-buffer": "^2.0.0", + "unist-util-stringify-position": "^3.0.0", + "vfile-message": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/@astrojs/starlight/node_modules/vfile-message": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz", + "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", + "dependencies": { + "@types/unist": "^2.0.0", + "unist-util-stringify-position": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, "node_modules/@astrojs/svelte": { "version": "5.0.2", "resolved": "https://registry.npmjs.org/@astrojs/svelte/-/svelte-5.0.2.tgz", @@ -908,9 +1530,9 @@ } }, "node_modules/@expressive-code/core": { - "version": "0.30.2", - "resolved": "https://registry.npmjs.org/@expressive-code/core/-/core-0.30.2.tgz", - "integrity": "sha512-haWKg3hb1Pc9nwfE+ceolRRhU/dM4pBJtWvc08vXvmZh4fEZyvBS0B3qdbNncUif/1YEfxi73PMSk1HtctHmBg==", + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@expressive-code/core/-/core-0.32.3.tgz", + "integrity": "sha512-uVA0/VMWz9Ak454CL8C74kvIikr7dwz2pCajSRVxR2wR+3NrgkRjbbny101f24uSs+s4k6YorJYrvX2p4SfQuA==", "dependencies": { "@ctrl/tinycolor": "^3.6.0", "hast-util-to-html": "^8.0.4", @@ -920,9 +1542,9 @@ } }, "node_modules/@expressive-code/core/node_modules/@types/hast": { - "version": "2.3.9", - "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.9.tgz", - "integrity": "sha512-pTHyNlaMD/oKJmS+ZZUyFUcsZeBZpC0lmGquw98CqRVNgAdJZJeD7GoeLiT6Xbx5rU9VCjSt0RwEvDgzh4obFw==", + "version": "2.3.10", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.10.tgz", + "integrity": "sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw==", "dependencies": { "@types/unist": "^2" } @@ -1167,18 +1789,18 @@ } }, "node_modules/@expressive-code/plugin-frames": { - "version": "0.30.2", - "resolved": "https://registry.npmjs.org/@expressive-code/plugin-frames/-/plugin-frames-0.30.2.tgz", - "integrity": "sha512-vsY275FmVMPXz2n6lCirFArqUTogl2tVqWldhRaLUwz92Zm6y90nZrEKLQlZfdD0D86jrlW350SPRofVm/ISnw==", + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@expressive-code/plugin-frames/-/plugin-frames-0.32.3.tgz", + "integrity": "sha512-esgCg+EE9IyTTXhyTdCOfTr9gcXp4VuigfHhitmoGgfQXSBVnmiVDWdSSD2XTeu/xzIGM7HvSj/l7P/dsdEUxA==", "dependencies": { - "@expressive-code/core": "^0.30.2", + "@expressive-code/core": "^0.32.3", "hastscript": "^7.2.0" } }, "node_modules/@expressive-code/plugin-frames/node_modules/@types/hast": { - "version": "2.3.9", - "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.9.tgz", - "integrity": "sha512-pTHyNlaMD/oKJmS+ZZUyFUcsZeBZpC0lmGquw98CqRVNgAdJZJeD7GoeLiT6Xbx5rU9VCjSt0RwEvDgzh4obFw==", + "version": "2.3.10", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.10.tgz", + "integrity": "sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw==", "dependencies": { "@types/unist": "^2" } @@ -1217,11 +1839,11 @@ } }, "node_modules/@expressive-code/plugin-shiki": { - "version": "0.30.2", - "resolved": "https://registry.npmjs.org/@expressive-code/plugin-shiki/-/plugin-shiki-0.30.2.tgz", - "integrity": "sha512-9tEHuJJpeln9LqyXk91YHs9DVEamde4mrXVT7XS0v3KgthAOqFyFeldVE1WJVN1sMqEP+c3W080g33+PjJOY6Q==", + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@expressive-code/plugin-shiki/-/plugin-shiki-0.32.3.tgz", + "integrity": "sha512-pEiOtlkmpWp1nRAPLbW7gzeMMFqjCCTR+SHGsXOy3hx0Sq0fIf+ZZ8AGRHxW61k/5YdHiS1FMBYs3mXrEdtvxg==", "dependencies": { - "@expressive-code/core": "^0.30.2", + "@expressive-code/core": "^0.32.3", "shikiji": "^0.8.0" } }, @@ -1234,19 +1856,19 @@ } }, "node_modules/@expressive-code/plugin-text-markers": { - "version": "0.30.2", - "resolved": "https://registry.npmjs.org/@expressive-code/plugin-text-markers/-/plugin-text-markers-0.30.2.tgz", - "integrity": "sha512-SUz6f2je7zgG6elcYmBdZczO4JfF/1VVCUTwWWdwuYHDSfyfpS9ySQBbERzH8zGGfT6FU62V0MwXzVxrNujeKA==", + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/@expressive-code/plugin-text-markers/-/plugin-text-markers-0.32.3.tgz", + "integrity": "sha512-7KdTxpNz49aj2GBGyE9vp0Dlv+vJD2zWiEk76uGNXCyahDjFM3si+Mpey313cqRHfOHgOaB8a5sDJNbLpra37w==", "dependencies": { - "@expressive-code/core": "^0.30.2", + "@expressive-code/core": "^0.32.3", "hastscript": "^7.2.0", "unist-util-visit-parents": "^5.1.3" } }, "node_modules/@expressive-code/plugin-text-markers/node_modules/@types/hast": { - "version": "2.3.9", - "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.9.tgz", - "integrity": "sha512-pTHyNlaMD/oKJmS+ZZUyFUcsZeBZpC0lmGquw98CqRVNgAdJZJeD7GoeLiT6Xbx5rU9VCjSt0RwEvDgzh4obFw==", + "version": "2.3.10", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.10.tgz", + "integrity": "sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw==", "dependencies": { "@types/unist": "^2" } @@ -2095,16 +2717,264 @@ } }, "node_modules/astro-expressive-code": { - "version": "0.30.2", - "resolved": "https://registry.npmjs.org/astro-expressive-code/-/astro-expressive-code-0.30.2.tgz", - "integrity": "sha512-W35TZcsYT5WTcLh+HeSZGK9zvkRvzE0PM1dVWX1EwKfgdGyUMb7W8L3XWkzsnaA9VxdkbCNr4y8PJ7KMRLEf6g==", + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/astro-expressive-code/-/astro-expressive-code-0.32.3.tgz", + "integrity": "sha512-XeBEmtd9ZoGJkTqrEAJkODauqMpe0GrhpPStW1WKjxQN2ym4P1/qLCA6IFEqOfQwe1958BlfvoJ0N3UT2mrX/A==", "dependencies": { - "remark-expressive-code": "^0.30.2" + "hast-util-to-html": "^8.0.4", + "remark-expressive-code": "^0.32.3" }, "peerDependencies": { "astro": "^3.3.0 || ^4.0.0-beta" } }, + "node_modules/astro-expressive-code/node_modules/@types/hast": { + "version": "2.3.10", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.10.tgz", + "integrity": "sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw==", + "dependencies": { + "@types/unist": "^2" + } + }, + "node_modules/astro-expressive-code/node_modules/@types/unist": { + "version": "2.0.10", + "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz", + "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA==" + }, + "node_modules/astro-expressive-code/node_modules/hast-util-from-parse5": { + "version": "7.1.2", + "resolved": "https://registry.npmjs.org/hast-util-from-parse5/-/hast-util-from-parse5-7.1.2.tgz", + "integrity": "sha512-Nz7FfPBuljzsN3tCQ4kCBKqdNhQE2l0Tn+X1ubgKBPRoiDIu1mL08Cfw4k7q71+Duyaw7DXDN+VTAp4Vh3oCOw==", + "dependencies": { + "@types/hast": "^2.0.0", + "@types/unist": "^2.0.0", + "hastscript": "^7.0.0", + "property-information": "^6.0.0", + "vfile": "^5.0.0", + "vfile-location": "^4.0.0", + "web-namespaces": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/astro-expressive-code/node_modules/hast-util-parse-selector": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/hast-util-parse-selector/-/hast-util-parse-selector-3.1.1.tgz", + "integrity": "sha512-jdlwBjEexy1oGz0aJ2f4GKMaVKkA9jwjr4MjAAI22E5fM/TXVZHuS5OpONtdeIkRKqAaryQ2E9xNQxijoThSZA==", + "dependencies": { + "@types/hast": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/astro-expressive-code/node_modules/hast-util-raw": { + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/hast-util-raw/-/hast-util-raw-7.2.3.tgz", + "integrity": "sha512-RujVQfVsOrxzPOPSzZFiwofMArbQke6DJjnFfceiEbFh7S05CbPt0cYN+A5YeD3pso0JQk6O1aHBnx9+Pm2uqg==", + "dependencies": { + "@types/hast": "^2.0.0", + "@types/parse5": "^6.0.0", + "hast-util-from-parse5": "^7.0.0", + "hast-util-to-parse5": "^7.0.0", + "html-void-elements": "^2.0.0", + "parse5": "^6.0.0", + "unist-util-position": "^4.0.0", + "unist-util-visit": "^4.0.0", + "vfile": "^5.0.0", + "web-namespaces": "^2.0.0", + "zwitch": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/astro-expressive-code/node_modules/hast-util-to-html": { + "version": "8.0.4", + "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-8.0.4.tgz", + "integrity": "sha512-4tpQTUOr9BMjtYyNlt0P50mH7xj0Ks2xpo8M943Vykljf99HW6EzulIoJP1N3eKOSScEHzyzi9dm7/cn0RfGwA==", + "dependencies": { + "@types/hast": "^2.0.0", + "@types/unist": "^2.0.0", + "ccount": "^2.0.0", + "comma-separated-tokens": "^2.0.0", + "hast-util-raw": "^7.0.0", + "hast-util-whitespace": "^2.0.0", + "html-void-elements": "^2.0.0", + "property-information": "^6.0.0", + "space-separated-tokens": "^2.0.0", + "stringify-entities": "^4.0.0", + "zwitch": "^2.0.4" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/astro-expressive-code/node_modules/hast-util-to-parse5": { + "version": "7.1.0", + "resolved": "https://registry.npmjs.org/hast-util-to-parse5/-/hast-util-to-parse5-7.1.0.tgz", + "integrity": "sha512-YNRgAJkH2Jky5ySkIqFXTQiaqcAtJyVE+D5lkN6CdtOqrnkLfGYYrEcKuHOJZlp+MwjSwuD3fZuawI+sic/RBw==", + "dependencies": { + "@types/hast": "^2.0.0", + "comma-separated-tokens": "^2.0.0", + "property-information": "^6.0.0", + "space-separated-tokens": "^2.0.0", + "web-namespaces": "^2.0.0", + "zwitch": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/astro-expressive-code/node_modules/hast-util-whitespace": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-2.0.1.tgz", + "integrity": "sha512-nAxA0v8+vXSBDt3AnRUNjyRIQ0rD+ntpbAp4LnPkumc5M9yUbSMa4XDU9Q6etY4f1Wp4bNgvc1yjiZtsTTrSng==", + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/astro-expressive-code/node_modules/hastscript": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/hastscript/-/hastscript-7.2.0.tgz", + "integrity": "sha512-TtYPq24IldU8iKoJQqvZOuhi5CyCQRAbvDOX0x1eW6rsHSxa/1i2CCiptNTotGHJ3VoHRGmqiv6/D3q113ikkw==", + "dependencies": { + "@types/hast": "^2.0.0", + "comma-separated-tokens": "^2.0.0", + "hast-util-parse-selector": "^3.0.0", + "property-information": "^6.0.0", + "space-separated-tokens": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/astro-expressive-code/node_modules/html-void-elements": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-2.0.1.tgz", + "integrity": "sha512-0quDb7s97CfemeJAnW9wC0hw78MtW7NU3hqtCD75g2vFlDLt36llsYD7uB7SUzojLMP24N5IatXf7ylGXiGG9A==", + "funding": { + "type": "github", + "url": "https://github.com/sponsors/wooorm" + } + }, + "node_modules/astro-expressive-code/node_modules/parse5": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", + "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==" + }, + "node_modules/astro-expressive-code/node_modules/unist-util-is": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-5.2.1.tgz", + "integrity": "sha512-u9njyyfEh43npf1M+yGKDGVPbY/JWEemg5nH05ncKPfi+kBbKBJoTdsogMu33uhytuLlv9y0O7GH7fEdwLdLQw==", + "dependencies": { + "@types/unist": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/astro-expressive-code/node_modules/unist-util-position": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-4.0.4.tgz", + "integrity": "sha512-kUBE91efOWfIVBo8xzh/uZQ7p9ffYRtUbMRZBNFYwf0RK8koUMx6dGUfwylLOKmaT2cs4wSW96QoYUSXAyEtpg==", + "dependencies": { + "@types/unist": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/astro-expressive-code/node_modules/unist-util-stringify-position": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz", + "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==", + "dependencies": { + "@types/unist": "^2.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/astro-expressive-code/node_modules/unist-util-visit": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz", + "integrity": "sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg==", + "dependencies": { + "@types/unist": "^2.0.0", + "unist-util-is": "^5.0.0", + "unist-util-visit-parents": "^5.1.1" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/astro-expressive-code/node_modules/unist-util-visit-parents": { + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-5.1.3.tgz", + "integrity": "sha512-x6+y8g7wWMyQhL1iZfhIPhDAs7Xwbn9nRosDXl7qoPTSCy0yNxnKc+hWokFifWQIDGi154rdUqKvbCa4+1kLhg==", + "dependencies": { + "@types/unist": "^2.0.0", + "unist-util-is": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/astro-expressive-code/node_modules/vfile": { + "version": "5.3.7", + "resolved": "https://registry.npmjs.org/vfile/-/vfile-5.3.7.tgz", + "integrity": "sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==", + "dependencies": { + "@types/unist": "^2.0.0", + "is-buffer": "^2.0.0", + "unist-util-stringify-position": "^3.0.0", + "vfile-message": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/astro-expressive-code/node_modules/vfile-location": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/vfile-location/-/vfile-location-4.1.0.tgz", + "integrity": "sha512-YF23YMyASIIJXpktBa4vIGLJ5Gs88UB/XePgqPmTa7cDA+JeO3yclbpheQYCHjVHBn/yePzrXuygIL+xbvRYHw==", + "dependencies": { + "@types/unist": "^2.0.0", + "vfile": "^5.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, + "node_modules/astro-expressive-code/node_modules/vfile-message": { + "version": "3.1.4", + "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz", + "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==", + "dependencies": { + "@types/unist": "^2.0.0", + "unist-util-stringify-position": "^3.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/unified" + } + }, "node_modules/autoprefixer": { "version": "10.4.16", "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.16.tgz", @@ -3120,14 +3990,14 @@ } }, "node_modules/expressive-code": { - "version": "0.30.2", - "resolved": "https://registry.npmjs.org/expressive-code/-/expressive-code-0.30.2.tgz", - "integrity": "sha512-xnQIUxFduqomZLP7oJEzA4+yi9Yy3lH3ahvbpjVFA7kn9sxHsv5ZamJC0JCctnkAerwomKu9S7rnhqhLT73T2g==", + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/expressive-code/-/expressive-code-0.32.3.tgz", + "integrity": "sha512-FqDIFugTvVCAKWzcgNT4PH7s6s/ITJbRbW8MLHLBbDhcErkMExGImYMkGyDblLDaIHS5vRQi735hW8bDl72/ow==", "dependencies": { - "@expressive-code/core": "^0.30.2", - "@expressive-code/plugin-frames": "^0.30.2", - "@expressive-code/plugin-shiki": "^0.30.2", - "@expressive-code/plugin-text-markers": "^0.30.2" + "@expressive-code/core": "^0.32.3", + "@expressive-code/plugin-frames": "^0.32.3", + "@expressive-code/plugin-shiki": "^0.32.3", + "@expressive-code/plugin-text-markers": "^0.32.3" } }, "node_modules/extend": { @@ -6502,19 +7372,19 @@ } }, "node_modules/remark-expressive-code": { - "version": "0.30.2", - "resolved": "https://registry.npmjs.org/remark-expressive-code/-/remark-expressive-code-0.30.2.tgz", - "integrity": "sha512-b6JnytW+CChkp2f29DtQsoFo80SKAJibvalm0SvmuReqQvN6OndPAvF7q5M9NCIYH/WB5H75G/kzSaeas+9Dyg==", + "version": "0.32.3", + "resolved": "https://registry.npmjs.org/remark-expressive-code/-/remark-expressive-code-0.32.3.tgz", + "integrity": "sha512-HSTdZ4AcOXugRK/3DStaslx9D35HhM1OlbWxdNXYU0QoJYq/Bv96eIKZaZmqd8WfTMUofvkVMhTqAppNMuf6Pw==", "dependencies": { - "expressive-code": "^0.30.2", + "expressive-code": "^0.32.3", "hast-util-to-html": "^8.0.4", "unist-util-visit": "^4.1.2" } }, "node_modules/remark-expressive-code/node_modules/@types/hast": { - "version": "2.3.9", - "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.9.tgz", - "integrity": "sha512-pTHyNlaMD/oKJmS+ZZUyFUcsZeBZpC0lmGquw98CqRVNgAdJZJeD7GoeLiT6Xbx5rU9VCjSt0RwEvDgzh4obFw==", + "version": "2.3.10", + "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.10.tgz", + "integrity": "sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw==", "dependencies": { "@types/unist": "^2" } diff --git a/package.json b/package.json index 8f05a4e..8e11cd3 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "@astrojs/tailwind": "^5.0.4", "@preline/overlay": "^2.0.2", "astro": "^4.0.7", + "astro-expressive-code": "^0.32.3", "boxicons": "^2.1.4", "preline": "^2.0.3", "tailwindcss": "^3.4.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 886ccaf..72b6d6b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,6 +14,9 @@ dependencies: '@astrojs/tailwind': specifier: ^5.0.4 version: 5.1.0(astro@4.2.4)(tailwindcss@3.4.1) + '@preline/overlay': + specifier: ^2.0.2 + version: 2.0.2 astro: specifier: ^4.0.7 version: 4.2.4(typescript@5.3.3) @@ -811,6 +814,10 @@ packages: resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==} dev: false + /@preline/overlay@2.0.2: + resolution: {integrity: sha512-X3Lw6zRsgxqEnjAqHUYnJD/88NAb2+Q3OlXmvepNmADfUPnWb+rxem2k/M56qiWfP767sZuhDvNeXTlQnGZciA==} + dev: false + /@rollup/rollup-android-arm-eabi@4.9.6: resolution: {integrity: sha512-MVNXSSYN6QXOulbHpLMKYi60ppyO13W9my1qogeiAqtjb2yR4LSmfU2+POvDkLzhjYLXz9Rf9+9a3zFHW1Lecg==} cpu: [arm] @@ -1352,6 +1359,7 @@ packages: react-interactive: 0.8.3(react@16.14.0) react-router-dom: 4.3.1(react@16.14.0) dev: false + bundledDependencies: false /brace-expansion@2.0.1: resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} @@ -3853,6 +3861,7 @@ packages: react: 16.14.0 scheduler: 0.19.1 dev: false + bundledDependencies: false /react-interactive@0.8.3(react@16.14.0): resolution: {integrity: sha512-mmRvA9aKP7zu9kVfP1AX1egX8tFlnE3DDXq92z0JTZezfOpmeQBzr77O1+mTV54OOmn+M2t6c5kFD5VnuFoM7A==} @@ -3906,6 +3915,7 @@ packages: object-assign: 4.1.1 prop-types: 15.8.1 dev: false + bundledDependencies: false /read-cache@1.0.0: resolution: {integrity: sha512-Owdv/Ft7IjOgm/i0xvNDZ1LrRANRfew4b2prF3OWMQLxLfu3bS8FVhCsrSCMK4lR56Y9ya+AThoTpDCTxCmpRA==} diff --git a/src/content/docs/guide/my-first-hello-world.md b/src/content/docs/guide/my-first-hello-world.md index d5761bd..a255d5f 100644 --- a/src/content/docs/guide/my-first-hello-world.md +++ b/src/content/docs/guide/my-first-hello-world.md @@ -38,22 +38,30 @@ For Unix-like OSes there are a few different variants, for example we might decl ::: -`{` and `}` signifies the start and end of the function respectively. -Inside we have a single +`{` and `}` signifies the start and end of the function respectively. Inside we have a single call to the function `printn` in `std::io`. We use the last part of the path "io" in front of -the function to identify what module it belongs to. We could also have used `std::io::printn` +the function to identify what module it belongs to. + +:::tip +We could also have used `std::io::printn` if we wanted. Just a part of the module path, like "io::printn", is known as "path-shortening" and is the common way of referring to functions (avoid `std::io::printn`, it's not idiomatic). -```cpp +```diff lang="cpp" +- std::io::printn("Hello, World!"); ++ io::printn("Hello, World!"); + +``` +::: + +The `io::printn` function takes a single argument and prints it, followed by a line feed After this the function ends and the program terminates. + +```cpp ins="Hello, World!" fn void main() { io::printn("Hello, World!"); } ``` -The `io::printn` function takes a single argument and prints it, followed by a -line feed -After this the function ends and the program terminates. ### Compiling the program @@ -62,13 +70,13 @@ Let's take the above program and put it in a file called `hello_world.c3`. We can then compile it: -```sh +```bash $ c3c compile hello_world.c3 ``` And run it: -```sh +```bash $ ./hello_world ``` @@ -80,7 +88,7 @@ If you are on Windows, you will have `hello_world.exe` instead. Call it in the s When we start out it can be useful to compile and then have the compiler start the program immediately. We can do that with `compile-run`: -```sh +```bash {4} $ c3c compile-run hello_world.c3 > Program linked to executable 'hello_world'. > Launching hello_world... diff --git a/src/content/docs/guide/my-first-project.md b/src/content/docs/guide/my-first-project.md index 669d7ce..9e93939 100644 --- a/src/content/docs/guide/my-first-project.md +++ b/src/content/docs/guide/my-first-project.md @@ -16,7 +16,7 @@ You can follow [this link](/c3-web/references/getting-started/prebuilt-binaries/ The `c3c init` comamnd will create a new directory containing your project structure. -```sh +```bash $ c3c init ``` diff --git a/src/content/docs/references/getting-started/prebuilt-binaries.md b/src/content/docs/references/getting-started/prebuilt-binaries.md index f92d50f..f536141 100644 --- a/src/content/docs/references/getting-started/prebuilt-binaries.md +++ b/src/content/docs/references/getting-started/prebuilt-binaries.md @@ -41,7 +41,7 @@ afterwards you can double click the python file and pick "python" from the list. 12. under "user variables" double click on "path" 13. click on "new" and paste the path to the folder 14. run `c3c` on anywhere in your computer! -```sh +```bash c3c compile ./hello.c3c ``` @@ -64,14 +64,14 @@ There is an AUR package for the c3c compiler : [c3c-git](https://aur.archlinux.o Due to some issues with the LLVM packaged for Arch Linux, the AUR package will download and use LLVM 16 for Ubuntu-23.04 to compile the c3c compiler. You can use your AUR package manager: -```sh +```bash paru -S c3c-git # or yay -S c3c-git # or aura -A c3c-git ``` Or clone it manually: -```sh +```bash git clone https://aur.archlinux.org/c3c-git.git cd c3c-git makepkg -si