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
77## Quick install guide
88if you haven't installed [ Rust] ( https://www.rust-lang.org/ ) yet, here is a quick guide which using rustup:
99``` 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
1111```
1212After Rust is installed, you can use cargo to generate a new project:
1313``` bash
14- cargo new my-app
14+ $ cargo new my-app
1515```
1616Go to ` Cargo.toml ` file, add this line:
1717``` toml {10}
@@ -44,5 +44,5 @@ fn main() {
4444
4545Go to terminal type this to start your server:
4646``` bash
47- cargo run
47+ $ cargo run
4848```
Original file line number Diff line number Diff line change @@ -8,6 +8,9 @@ module.exports = {
88 projectName : 'obsidian-rs.github.io' , // Usually your repo name.
99 themeConfig : {
1010 disableDarkMode : true ,
11+ prism : {
12+ additionalLanguages : [ 'rust' , 'toml' ]
13+ } ,
1114 navbar : {
1215 title : 'Obsidian' ,
1316 // logo: {
Original file line number Diff line number Diff line change 99 "deploy" : " docusaurus deploy"
1010 },
1111 "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 " ,
1414 "classnames" : " ^2.2.6" ,
1515 "react" : " ^16.8.4" ,
1616 "react-dom" : " ^16.8.4"
2727 " last 1 safari version"
2828 ]
2929 }
30- }
30+ }
You can’t perform that action at this time.
0 commit comments