Giter Club home page Giter Club logo

notebook's Introduction

title
Quartz

-> PRESET:

See the official documentation on how to configure Quartz.

For the template, a special template that add a "little" more features is available here.

The template includes:

  • File and folder icons
  • Mobile navigation

[!tip] You can click on "Sync fork" to get the latest updates from the original repository.

File & Folder icons configuration

  • Use Iconize Assistant to save icon path into the frontmatter of the file.

    [!note] Iconize icons needs to be accessible by the plugin! I store them into _assets/PLUGINS/icons.

  • Configure the plugin to send icons file (using override attachment) into quartz/static/icons : Replace path of attachment for svg files: /(_assets\/_PLUGINS\/icons)\/(.*)\/(.*)\.(svg)$/->quartz/static/icons/$2/{{name}}
  • Configure the plugin to send file by frontmatter key: icon_file
  • In the file [quartz.layout.ts], add this:
    const iconsOptions: IconFolderOptions = {
      rootIconFolder: "quartz/static/icons",
      default: {
        file: "file",
      },
    }

    [!warning] Don't forget to add the default icon (named file.svg) in the quartz/static/icons folder.

  • Edit Component.ExlorerBurger() as follow:
    Component.ExplorerBurger({
    	//keep your old settings; add only iconSettings
    	iconSettings: iconsOptions,
    }),
    
  • Edit Component.ArticleTitle() as follow: Component.ArticleTitle(iconsOptions)

Mobile navigation

The mobile navigation is instable and rely on a specific layout. Don't change the layout, order, or place of the components.

Sort order

You can use the frontmatter key order to sort the files and folder by number. If not found, the sort order will use the display name.

notebook's People

Contributors

cuebitt avatar dependabot[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.