| 1 |
# Introduction |
| 2 |
|
| 3 |
<style> |
| 4 |
.mdbook-version { |
| 5 |
position: absolute; |
| 6 |
right: 20px; |
| 7 |
top: 60px; |
| 8 |
background-color: var(--theme-popup-bg); |
| 9 |
border-radius: 8px; |
| 10 |
padding: 2px 5px 2px 5px; |
| 11 |
border: 1px solid var(--theme-popup-border); |
| 12 |
font-size: 0.9em; |
| 13 |
} |
| 14 |
</style> |
| 15 |
|
| 16 |
<div class="mdbook-version"> |
| 17 |
Version: {{ mdbook-version }} |
| 18 |
</div> |
| 19 |
|
| 20 |
**mdBook** is a command line tool to create books with Markdown. |
| 21 |
It is ideal for creating product or API documentation, tutorials, course materials or anything that requires a clean, |
| 22 |
easily navigable and customizable presentation. |
| 23 |
|
| 24 |
* Lightweight [Markdown] syntax helps you focus more on your content |
| 25 |
* Integrated [search] support |
| 26 |
* Color [syntax highlighting] for code blocks for many different languages |
| 27 |
* [Theme] files allow customizing the formatting of the output |
| 28 |
* [Preprocessors] can provide extensions for custom syntax and modifying content |
| 29 |
* [Backends] can render the output to multiple formats |
| 30 |
* Written in [Rust] for speed, safety, and simplicity |
| 31 |
* Automated testing of [Rust code samples] |
| 32 |
|
| 33 |
This guide is an example of what mdBook produces. |
| 34 |
mdBook is used by the Rust programming language project, and [The Rust Programming Language][trpl] book is another fine example of mdBook in action. |
| 35 |
|
| 36 |
[Markdown]: format/markdown.md |
| 37 |
[search]: guide/reading.md#search |
| 38 |
[syntax highlighting]: format/theme/syntax-highlighting.md |
| 39 |
[theme]: format/theme/index.html |
| 40 |
[preprocessors]: format/configuration/preprocessors.md |
| 41 |
[backends]: format/configuration/renderers.md |
| 42 |
[Rust]: https://www.rust-lang.org/ |
| 43 |
[trpl]: https://doc.rust-lang.org/book/ |
| 44 |
[Rust code samples]: cli/test.md |
| 45 |
|
| 46 |
## Contributing |
| 47 |
|
| 48 |
mdBook is free and open source. You can find the source code on |
| 49 |
[GitHub](https://github.com/rust-lang/mdBook) and issues and feature requests can be posted on |
| 50 |
the [GitHub issue tracker](https://github.com/rust-lang/mdBook/issues). mdBook relies on the community to fix bugs and |
| 51 |
add features: if you'd like to contribute, please read |
| 52 |
the [CONTRIBUTING](https://github.com/rust-lang/mdBook/blob/master/CONTRIBUTING.md) guide and consider opening |
| 53 |
a [pull request](https://github.com/rust-lang/mdBook/pulls). |
| 54 |
|
| 55 |
## License |
| 56 |
|
| 57 |
The mdBook source and documentation are released under |
| 58 |
the [Mozilla Public License v2.0](https://www.mozilla.org/MPL/2.0/). |