Skip to content

Commit

Permalink
update docs-integration-request.md (#465)
Browse files Browse the repository at this point in the history
* remove use/user-guides

* address manage assets capitalization

* update homepage link to User Guides

* Update transak.md

* add main section overviews, and subsection cards

* fix discord and other broken links

* update Flatten function

was a plugin -> now built-in to context menu

* normalize folder structure and fix missing images

* small fixes while we are here

* Update docs-integration-request.md

---------

Co-authored-by: Gregory Luneau <[email protected]>
  • Loading branch information
meganskye and gluneau authored Oct 12, 2023
1 parent 7db84f9 commit 7865f84
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions docs-integration-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,21 @@ To learn how to set up a local Docusaurus install to view this the way it was in

At the top of the .md file add:

`import Figure from '/src/components/figure'`

and to reference each image, using one example:

`<Figure caption="This is a picture of Cody McCodeface, degen" src={require('./img/cody_mccodeface.png').default } width="100%"/>`

Here's another example without a caption; width reduced:

`<Figure src={require('./img/Alice_und_Bob_only_slimmer.png').default } width="65%"/>`

```r
import image01 from "./img/image01.png"
import image02 from "./img/image02.png"
import image03 from "./img/image03.png"
import ...
```

and to reference each image, as one example:

```r
<div style={{textAlign: 'center'}}>
<img src={image01} style={{width: 600}} />
</div>
```

- When your document or tutorial is finished, submit a pull request to the [astar-docs](https://github.com/AstarNetwork/astar-docs) repo on Github. Thank you!

:::
Expand Down

0 comments on commit 7865f84

Please sign in to comment.