浏览代码

doc: prettier

Junyu Zhan 4 年之前
父节点
当前提交
13f10b16e5
共有 1 个文件被更改,包括 14 次插入11 次删除
  1. 14 11
      README.md

+ 14 - 11
README.md

@@ -25,11 +25,12 @@ In the unlikely event that the website is down or cannot be maintained, your dat
 ![Image of logseq](https://cdn.logseq.com/%2F8b9a461d-437e-4ca5-a2da-18b51077b5142020_07_25_Screenshot%202020-07-25%2013-29-49%20%2B0800.png?Expires=4749255017&Signature=Qbx6jkgAytqm6nLxVXQQW1igfcf~umV1OcG6jXUt09TOVhgXyA2Z5jHJ3AGJASNcphs31pZf4CjFQ5mRCyVKw6N8wb8Nn-MxuTJl0iI8o-jLIAIs9q1v-2cusCvuFfXH7bq6ir8Lpf0KYAprzuZ00FENin3dn6RBW35ENQwUioEr5Ghl7YOCr8bKew3jPV~OyL67MttT3wJig1j3IC8lxDDT8Ov5IMG2GWcHERSy00F3mp3tJtzGE17-OUILdeuTFz6d-NDFAmzB8BebiurYz0Bxa4tkcdLUpD5ToFHU08jKzZExoEUY8tvaZ1-t7djmo3d~BAXDtlEhC2L1YC2aVQ__&Key-Pair-Id=APKAJE5CCD6X7MP6PTEA)
 ![Image of logseq](https://cdn.logseq.com/%2F8b9a461d-437e-4ca5-a2da-18b51077b5142020_07_25_Screenshot%202020-07-25%2013-29-49%20%2B0800.png?Expires=4749255017&Signature=Qbx6jkgAytqm6nLxVXQQW1igfcf~umV1OcG6jXUt09TOVhgXyA2Z5jHJ3AGJASNcphs31pZf4CjFQ5mRCyVKw6N8wb8Nn-MxuTJl0iI8o-jLIAIs9q1v-2cusCvuFfXH7bq6ir8Lpf0KYAprzuZ00FENin3dn6RBW35ENQwUioEr5Ghl7YOCr8bKew3jPV~OyL67MttT3wJig1j3IC8lxDDT8Ov5IMG2GWcHERSy00F3mp3tJtzGE17-OUILdeuTFz6d-NDFAmzB8BebiurYz0Bxa4tkcdLUpD5ToFHU08jKzZExoEUY8tvaZ1-t7djmo3d~BAXDtlEhC2L1YC2aVQ__&Key-Pair-Id=APKAJE5CCD6X7MP6PTEA)
 
 
 ## Feature requests
 ## Feature requests
+
 Please go to https://discuss.logseq.com/c/feature-requests/7.
 Please go to https://discuss.logseq.com/c/feature-requests/7.
 
 
 ## How can I use it?
 ## How can I use it?
 
 
-1. Make sure you have registered a [GitHub account](https://github.com/join) and already created a repository (could be an old one). _Currently we only support GitHub, but more sync  options (e.g. Gitlab, Dropbox, Google Drive, WebDAV, etc.) will be added soon._
+1. Make sure you have registered a [GitHub account](https://github.com/join) and already created a repository (could be an old one). _Currently we only support GitHub, but more sync options (e.g. Gitlab, Dropbox, Google Drive, WebDAV, etc.) will be added soon._
 
 
 2. Visit our website <https://logseq.com/>.
 2. Visit our website <https://logseq.com/>.
 
 
@@ -60,7 +61,7 @@ Logseq is also made possible by the following projects:
 - Discord: https://discord.gg/KpN4eHY - Where we answer questions, disucss workflows and share tips
 - Discord: https://discord.gg/KpN4eHY - Where we answer questions, disucss workflows and share tips
 - Github: https://github.com/logseq/logseq - everyone is encouraged to report issues!
 - Github: https://github.com/logseq/logseq - everyone is encouraged to report issues!
 
 
-- - - -
+---
 
 
 The following is for developers and designers who want to build and run Logseq locally and contribute to this project.
 The following is for developers and designers who want to build and run Logseq locally and contribute to this project.
 
 
@@ -73,7 +74,7 @@ The following is for developers and designers who want to build and run Logseq l
 
 
 ### 2. Compile to JavaScript
 ### 2. Compile to JavaScript
 
 
-``` bash
+```bash
 git clone https://github.com/logseq/logseq
 git clone https://github.com/logseq/logseq
 yarn
 yarn
 yarn watch
 yarn watch
@@ -85,13 +86,14 @@ Open <http://localhost:3001>.
 
 
 ### 4. Build a release
 ### 4. Build a release
 
 
-``` bash
+```bash
 yarn release
 yarn release
 ```
 ```
 
 
 ### 5. Run tests
 ### 5. Run tests
 
 
 Run ClojureScript tests
 Run ClojureScript tests
+
 ```bash
 ```bash
 yarn
 yarn
 yarn cljs:test
 yarn cljs:test
@@ -99,6 +101,7 @@ node static/tests.js
 ```
 ```
 
 
 Run Clojure tests. (Note: `.cljc` files may be tested both by ClojureScript, and Clojure.)
 Run Clojure tests. (Note: `.cljc` files may be tested both by ClojureScript, and Clojure.)
+
 ```bash
 ```bash
 clj -Mtest-clj
 clj -Mtest-clj
 ```
 ```
@@ -107,19 +110,19 @@ clj -Mtest-clj
 
 
 ### 1. Compile to JavaScript
 ### 1. Compile to JavaScript
 
 
-``` bash
+```bash
 yarn watch
 yarn watch
 ```
 ```
 
 
 ### 2. Open the dev app
 ### 2. Open the dev app
 
 
-``` bash
+```bash
 yarn dev-electron-app
 yarn dev-electron-app
 ```
 ```
 
 
 ### 3. Build a release
 ### 3. Build a release
 
 
-``` bash
+```bash
 yarn release-electron
 yarn release-electron
 ```
 ```
 
 
@@ -127,26 +130,26 @@ yarn release-electron
 
 
 ### 1. Fetch sources
 ### 1. Fetch sources
 
 
-``` bash
+```bash
 git clone https://github.com/logseq/logseq
 git clone https://github.com/logseq/logseq
 ```
 ```
 
 
 ### 2. Build Docker image
 ### 2. Build Docker image
 
 
-``` bash
+```bash
 cd logseq
 cd logseq
 docker build -t logseq-docker .
 docker build -t logseq-docker .
 ```
 ```
 
 
 ### 3. Run Docker container
 ### 3. Run Docker container
 
 
-``` bash
+```bash
 docker run -v $(pwd):/home/logseq/logseq -p 3001:3001 -p 9630:9630 -p 8701:8701 --rm -it logseq-docker /bin/bash
 docker run -v $(pwd):/home/logseq/logseq -p 3001:3001 -p 9630:9630 -p 8701:8701 --rm -it logseq-docker /bin/bash
 ```
 ```
 
 
 ### 4. Inside the container compile as described above
 ### 4. Inside the container compile as described above
 
 
-``` bash
+```bash
 cd logseq
 cd logseq
 yarn
 yarn
 yarn watch
 yarn watch