Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@
"skipCi": true,
"repoType": "github",
"repoHost": "https://github.com",
"badgeTemplate": "[![All Contributors](https://img.shields.io/badge/all_contributors-<%= contributors.length %>-orange.svg?style=flat-square)](#contributors)",
"projectName": "cairo-book.github.io",
"projectOwner": "cairo-book"
}
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<div align="center">
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-9-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->
<!-- Remember: Keep a span between the HTML tag and the markdown tag. -->

<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-9-orange.svg?style=flat-square)](#contributors)
<!-- ALL-CONTRIBUTORS-BADGE:END -->

<h1>The Cairo Programming Language Book</h1>
<h3> Alexandria </h3>
<img src="assets/alexandria.jpg" height="400" width="400">
Expand Down Expand Up @@ -77,7 +80,7 @@ The mdbook-cairo backend is working as following:
number of the `fn main()` found in the chapter.
4. If you have a code block with a `fn main()` function that you know does not compile,
you can indicate it by adding the `does_not_compile` attribute to the code block, like this:

````
```rust,does_not_compile
fn main() {
Expand All @@ -89,7 +92,7 @@ The mdbook-cairo backend is working as following:
but will not be extracted into a Cairo program.

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

````
```rust,ignore_format
Expand Down