Skip to content

Commit

Permalink
better figure
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Berjon committed Dec 12, 2024
1 parent cb182c2 commit dcb9ab1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions car.html
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ <h2>Parsing CAR</h2>
This integer specifies the number of remaining bytes for that block entry, excluding
the bytes used to encode the integer, but including the CID for non-header blocks.
</p>
<pre><code>|--------- Header --------| |---------------------------------- Data -----------------------------------|
[ leb128 | DAG-CBOR block ] [ leb128 | CID | block ] [ leb128 | CID | block ] [ leb128 | CID | block ] …
<pre><code>|------- Header -------| |------------------- Data -------------------|
[ int | DAG-CBOR block ] [ int | CID | block ] [ int | CID | block ] …
</code></pre>
<p>
The steps to <dfn id="dfn-parse-a-car">parse a CAR</dfn> are:
Expand Down
4 changes: 2 additions & 2 deletions car.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ <h2>Parsing CAR</h2>
This integer specifies the number of remaining bytes for that block entry, excluding
the bytes used to encode the integer, but including the CID for non-header blocks.
</p>
<pre><code>|--------- Header --------| |---------------------------------- Data -----------------------------------|
[ leb128 | DAG-CBOR block ] [ leb128 | CID | block ] [ leb128 | CID | block ] [ leb128 | CID | block ] …
<pre><code>|------- Header -------| |------------------- Data -------------------|
[ int | DAG-CBOR block ] [ int | CID | block ] [ int | CID | block ] …
</code></pre>
<p>
The steps to <dfn>parse a CAR</dfn> are:
Expand Down
3 changes: 2 additions & 1 deletion spec.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@ a.dfn-ref {
color: inherit;
}
pre {
white-space: pre-wrap;
/* white-space: pre-wrap; */
overflow: auto;
}

@media only screen and (max-width:800px) {
Expand Down

0 comments on commit dcb9ab1

Please sign in to comment.