Skip to content

Commit

Permalink
STYLE: Increase consistency in doc bash code block highlight name
Browse files Browse the repository at this point in the history
Increase consistency in Markdown documentation bash code block highlight
language names.

Documentation:
https://github.com/jincheng9/markdown_supported_languages

Left behind in commit fa1ecc5.
  • Loading branch information
jhlegarreta authored and hjmjohnson committed Dec 7, 2023
1 parent 119e8da commit 4d316b9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Documentation/docs/contributing/upload_binary_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,14 @@ downloaded into the build tree.
Install the <span class="title-ref">w3</span> CLI with the
[@web3-storage/w3] [Node.js] package:

``` shell
```bash
npm install --location=global @web3-storage/w3
```

Login in and create an API token at
[web3.storage] then pass it into `w3 token`:

``` shell
```bash
w3 token
? Paste your API token for api.web3.storage › <your token here>

Expand All @@ -145,15 +145,15 @@ w3 token
Create an <span class="title-ref">w3externaldata</span> bash/zsh
function:

``` shell
```bash
function w3externaldata() { w3 put $1 --no-wrap | tail -n 1 | awk -F "/ipfs/" '{print $2}' | tee $1.cid }
```
Call the function with the file to be uploaded. This command will
generate the <span class="title-ref">\<filename\>.cid</span> content
link:
``` shell
```bash
w3externaldata <filename>
# Packed 1 file (0.3MB)
⁂ Stored 1 file
Expand Down

0 comments on commit 4d316b9

Please sign in to comment.