0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00

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>
This commit is contained in:
paulrudy 2023-03-21 17:53:46 -07:00 committed by GitHub
parent 0283ac6c28
commit b37b865400
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 3 deletions

View file

@ -0,0 +1,5 @@
---
"@astrojs/markdoc": patch
---
Fix README instructions for installing Markdoc manually.

View file

@ -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()`.