mirror of
https://github.com/askama-rs/askama.git
synced 2025-10-02 15:25:19 +00:00
Add syntax highlighting to README
This commit is contained in:
parent
6c6081fd3f
commit
f7a2d7b7f5
@ -39,16 +39,16 @@ How to get started
|
|||||||
|
|
||||||
First, add the following to your crate's ``Cargo.toml``:
|
First, add the following to your crate's ``Cargo.toml``:
|
||||||
|
|
||||||
.. code-block::
|
.. code-block:: toml
|
||||||
|
|
||||||
// in section [package]
|
# in section [package]
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
|
|
||||||
// in section [dependencies]
|
# in section [dependencies]
|
||||||
askama = "0.1"
|
askama = "0.1"
|
||||||
askama_derive = "0.1"
|
askama_derive = "0.1"
|
||||||
|
|
||||||
// in section [build-dependencies]
|
# in section [build-dependencies]
|
||||||
askama = "0.1"
|
askama = "0.1"
|
||||||
|
|
||||||
Custom derive macros can not be exported together with other items,
|
Custom derive macros can not be exported together with other items,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user