Skip to content

Commit d95613f

Browse files
authored
Merge pull request #3 from StarknetAstro/zh-cn
Zh cn
2 parents f4ae392 + 630bcd3 commit d95613f

2 files changed

Lines changed: 9 additions & 5 deletions

File tree

.all-contributorsrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@
101101
"skipCi": true,
102102
"repoType": "github",
103103
"repoHost": "https://github.com",
104+
"badgeTemplate": "[![All Contributors](https://img.shields.io/badge/all_contributors-<%= contributors.length %>-orange.svg?style=flat-square)](#contributors)",
104105
"projectName": "cairo-book.github.io",
105106
"projectOwner": "cairo-book"
106107
}

README.md

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
<div align="center">
2-
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
3-
[![All Contributors](https://img.shields.io/badge/all_contributors-9-orange.svg?style=flat-square)](#contributors-)
4-
<!-- ALL-CONTRIBUTORS-BADGE:END -->
2+
<!-- Remember: Keep a span between the HTML tag and the markdown tag. -->
3+
4+
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
5+
[![All Contributors](https://img.shields.io/badge/all_contributors-9-orange.svg?style=flat-square)](#contributors)
6+
<!-- ALL-CONTRIBUTORS-BADGE:END -->
7+
58
<h1>The Cairo Programming Language Book</h1>
69
<h3> Alexandria </h3>
710
<img src="assets/alexandria.jpg" height="400" width="400">
@@ -77,7 +80,7 @@ The mdbook-cairo backend is working as following:
7780
number of the `fn main()` found in the chapter.
7881
4. If you have a code block with a `fn main()` function that you know does not compile,
7982
you can indicate it by adding the `does_not_compile` attribute to the code block, like this:
80-
83+
8184
````
8285
```rust,does_not_compile
8386
fn main() {
@@ -89,7 +92,7 @@ The mdbook-cairo backend is working as following:
8992
but will not be extracted into a Cairo program.
9093

9194
5. Alternatively, if you want to disable the format check using `cairo-format`,
92-
you can add the `ignore_format` attribute to the code block, like this:
95+
you can add the `ignore_format` attribute to the code block, like this:
9396

9497
````
9598
```rust,ignore_format

0 commit comments

Comments
 (0)