From 028bcec62c3ca019a96783f17eaee1ecce6e092b Mon Sep 17 00:00:00 2001 From: Jacky Zhao <j.zhao2k19@gmail.com> Date: Mon, 07 Aug 2023 00:09:29 +0000 Subject: [PATCH] mobile fixes, fix bug when linking to anchor on home, docs --- content/build.md | 22 ++++++++++++++++++++++ 1 files changed, 22 insertions(+), 0 deletions(-) diff --git a/content/build.md b/content/build.md index 2857057..ac6a410 100644 --- a/content/build.md +++ b/content/build.md @@ -1,3 +1,25 @@ --- title: "Building your Quartz" --- + +Once you've [[index#🪴 Get Started|initialized]] Quartz, let's see what it looks like locally. + +```bash +npx quartz build --serve +``` + +Then, open a web browser and visit `http://localhost:8080/` to view it! + +Want to change how Quartz looks? You can edit `quartz.config.ts` to customize and configure your Quartz, including styles, layout, and more. Read the [[configuration]] page for more information on what each field in the configuration does. + +Once you're happy with it, let's see how to [[hosting|deploy Quartz to the web]]. + +> [!hint] Flags and options +> For full help options, you can run `npx quartz build --help`. +> +> Most of these have sensible defaults but you can override them if you have a custom setup: +> - `-d` or `--directory`: the content folder. This is normally just `content` +> - `-v` or `--verbose`: print out extra logging information +> - `-o` or `--output`: the output folder. This is normally just `public` +> - `--serve`: run a local hot-reloading server to preview your Quartz +> - `--port`: what port to run the local preview server on \ No newline at end of file -- Gitblit v1.10.0