From 53c3f479c6425b8a3863e3d2eec75fce591b4dfb Mon Sep 17 00:00:00 2001 From: Geoffrey Garrett Date: Tue, 28 Jun 2022 20:10:44 +0200 Subject: [PATCH] docs(code block titles): added titles for all configuration code blocks --- content/notes/config.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/content/notes/config.md b/content/notes/config.md index 80d9e1c3f..d5a42232f 100644 --- a/content/notes/config.md +++ b/content/notes/config.md @@ -36,7 +36,7 @@ If you would like to customize the favicons of your quartz-based website, you can add them to the `data/config.yaml` file. The **default** without any set `favicon` key is: -```html {linenos=false} +```html {title="data/config.yaml", linenos=false} ``` @@ -44,7 +44,7 @@ The default can be overridden by defining a value to the `favicon` key in your `data/config.yaml` file. Here is a `List[Dictionary]` example format, which is equivalent to the default: -```yaml {linenos=false} +```yaml {title="data/config.yaml", linenos=false} favicon: - { rel: "shortcut icon", href: "icon.png", type: "image/png" } # - { ... } # Repeat for each additional favicon you want to add @@ -60,7 +60,7 @@ If you plan to add multiple favicons generated by a website (see list below), it may be easier to define it as HTML. Here is an example which appends the **Apple touch icon** to quartz's default favicon: -```yaml {linenos=false} +```yaml {title="data/config.yaml", linenos=false} favicon: | @@ -88,7 +88,7 @@ attribute, are relative to the `static/` directory. ### Graph View To customize the Interactive Graph view, you can poke around `data/graphConfig.yaml`. -```yaml +```yaml {title="data/graphConfig.yaml"} enableLegend: false # automatically generate a legend enableDrag: true # allow dragging nodes in the graph enableZoom: true # allow zooming and panning the graph