File tree Expand file tree Collapse file tree 4 files changed +1479
-1223
lines changed Expand file tree Collapse file tree 4 files changed +1479
-1223
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,11 @@ sidebar_label: Quick Start
7
7
## Quick install guide
8
8
if you haven't installed [ Rust] ( https://www.rust-lang.org/ ) yet, here is a quick guide which using rustup:
9
9
``` bash
10
- curl --proto ' =https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
10
+ $ curl --proto ' =https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
11
11
```
12
12
After Rust is installed, you can use cargo to generate a new project:
13
13
``` bash
14
- cargo new my-app
14
+ $ cargo new my-app
15
15
```
16
16
Go to ` Cargo.toml ` file, add this line:
17
17
``` toml {10}
@@ -44,5 +44,5 @@ fn main() {
44
44
45
45
Go to terminal type this to start your server:
46
46
``` bash
47
- cargo run
47
+ $ cargo run
48
48
```
Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ module.exports = {
8
8
projectName : 'obsidian-rs.github.io' , // Usually your repo name.
9
9
themeConfig : {
10
10
disableDarkMode : true ,
11
+ prism : {
12
+ additionalLanguages : [ 'rust' , 'toml' ]
13
+ } ,
11
14
navbar : {
12
15
title : 'Obsidian' ,
13
16
// logo: {
Original file line number Diff line number Diff line change 9
9
"deploy" : " docusaurus deploy"
10
10
},
11
11
"dependencies" : {
12
- "@docusaurus/core" : " ^2.0.0-alpha.40 " ,
13
- "@docusaurus/preset-classic" : " ^2.0.0-alpha.40 " ,
12
+ "@docusaurus/core" : " ^2.0.0-alpha.50 " ,
13
+ "@docusaurus/preset-classic" : " ^2.0.0-alpha.50 " ,
14
14
"classnames" : " ^2.2.6" ,
15
15
"react" : " ^16.8.4" ,
16
16
"react-dom" : " ^16.8.4"
27
27
" last 1 safari version"
28
28
]
29
29
}
30
- }
30
+ }
You can’t perform that action at this time.
0 commit comments