summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar paulrudy <1110792+paulrudy@users.noreply.github.com> 2023-03-21 17:53:46 -0700
committerGravatar GitHub <noreply@github.com> 2023-03-21 20:53:46 -0400
commitb37b865400e77e92878d7e150244acce47e933c6 (patch)
treea03a2da84c4a39ba227caaa354e314c5b24360ad
parent0283ac6c286aec90aa82d7811dbc778754ddbcc8 (diff)
downloadastro-b37b865400e77e92878d7e150244acce47e933c6.tar.gz
astro-b37b865400e77e92878d7e150244acce47e933c6.tar.zst
astro-b37b865400e77e92878d7e150244acce47e933c6.zip
edit commands for installing @markdoc/markdoc (#6622)
* edit commands for installing @markdoc/markdoc * Create twenty-islands-protect.md --------- Co-authored-by: Ben Holmes <hey@bholmes.dev>
-rw-r--r--.changeset/twenty-islands-protect.md5
-rw-r--r--packages/integrations/markdoc/README.md6
2 files changed, 8 insertions, 3 deletions
diff --git a/.changeset/twenty-islands-protect.md b/.changeset/twenty-islands-protect.md
new file mode 100644
index 000000000..7d035955e
--- /dev/null
+++ b/.changeset/twenty-islands-protect.md
@@ -0,0 +1,5 @@
+---
+"@astrojs/markdoc": patch
+---
+
+Fix README instructions for installing Markdoc manually.
diff --git a/packages/integrations/markdoc/README.md b/packages/integrations/markdoc/README.md
index ba107ea75..76291e763 100644
--- a/packages/integrations/markdoc/README.md
+++ b/packages/integrations/markdoc/README.md
@@ -306,11 +306,11 @@ You will need to install the `@markdoc/markdoc` package into your project first:
```sh
# Using NPM
-npx astro add @markdoc/markdoc
+npm install @markdoc/markdoc
# Using Yarn
-yarn astro add @markdoc/markdoc
+yarn add @markdoc/markdoc
# Using PNPM
-pnpm astro add @markdoc/markdoc
+pnpm add @markdoc/markdoc
```
Now, you can define Markdoc configuration options using `Markdock.transform()`.