summaryrefslogtreecommitdiff
path: root/packages/integrations/svelte
diff options
context:
space:
mode:
authorGravatar Chris Swithinbank <swithinbank@gmail.com> 2022-07-11 21:10:34 +0200
committerGravatar GitHub <noreply@github.com> 2022-07-11 21:10:34 +0200
commitbf5d1cc1e71da38a14658c615e9481f2145cc6e7 (patch)
treebb7c27b98e84c274e98e6e0116c7dd90189b0a76 /packages/integrations/svelte
parent1554a37622babf5486d1201425d39142bc854a62 (diff)
downloadastro-bf5d1cc1e71da38a14658c615e9481f2145cc6e7.tar.gz
astro-bf5d1cc1e71da38a14658c615e9481f2145cc6e7.tar.zst
astro-bf5d1cc1e71da38a14658c615e9481f2145cc6e7.zip
More integration README fixes (#3885)
* Integration README fixes * More tweaks (mostly code backticks for filenames) * Update changeset * Few more tweaks * Make sure code blocks all have a code language * Use URLs of new docs pages for package homepage * One more stray `<br>` :boot: * Standardise to `sh` instead of `shell`
Diffstat (limited to 'packages/integrations/svelte')
-rw-r--r--packages/integrations/svelte/README.md6
-rw-r--r--packages/integrations/svelte/package.json2
2 files changed, 4 insertions, 4 deletions
diff --git a/packages/integrations/svelte/README.md b/packages/integrations/svelte/README.md
index 7a9ca7bf4..b477613a2 100644
--- a/packages/integrations/svelte/README.md
+++ b/packages/integrations/svelte/README.md
@@ -29,7 +29,7 @@ If you run into any hiccups, [feel free to log an issue on our GitHub](https://g
First, install the `@astrojs/svelte` integration like so:
-```
+```sh
npm install @astrojs/svelte
```
@@ -41,7 +41,7 @@ npm install svelte
Now, apply this integration to your `astro.config.*` file using the `integrations` property:
-__astro.config.mjs__
+__`astro.config.mjs`__
```js
import svelte from '@astrojs/svelte';
@@ -90,4 +90,4 @@ const defaultOptions = {
The `emitCss`, `compilerOptions.dev`, and `compilerOptions.hydratable` cannot be overridden.
-Providing your own `preprocess` options **will** override the defaults - make sure to enable the preprocessor flags needed for your project. \ No newline at end of file
+Providing your own `preprocess` options **will** override the defaults - make sure to enable the preprocessor flags needed for your project.
diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json
index 05e1426d2..64e99249a 100644
--- a/packages/integrations/svelte/package.json
+++ b/packages/integrations/svelte/package.json
@@ -18,7 +18,7 @@
"svelte"
],
"bugs": "https://github.com/withastro/astro/issues",
- "homepage": "https://astro.build",
+ "homepage": "https://docs.astro.build/en/guides/integrations-guide/svelte/",
"exports": {
".": "./dist/index.js",
"./editor": "./dist/editor.cjs",