Zettelkasten Forum


Theming suggestions

  1. Allow font sizes relative to the font size in the settings. In the example below, a font size of 16 in the settings would give the h1 a font size of 24, while a font size of 18 in the settings would give a h1 font size of 27.

    "h1": {
        "font": {
            "size": {
                "relative": 1.5
            }
        }
    },
    
  2. Allow syntax styling for github-style checkboxes in lists:

    - [ ] This is a checkbox
    - [-] This is an in-progress checkbox
    - [x] This is a completed (ticked) checkbox
    

    In the example above, - [ ] would be included in the syntax, While the - and x to mark the checkbox states would inherit the list (text) color.

    Even better would be to allow styling the checkbox state (i.e. to allow dimming completed tasks).

    "list": {
        "color" : "#d8d8d8",
        "syntax": {
            "color" : "#585858",
        }
    },
    "listCheckbox": {
        "color" : "#d8d8d8",
        "syntax": {
            "color" : "#a1b56c"
        }
    },
    "listCheckboxComplete": {
        "color" : "#585858",
        "font": {
            "decoration": "line-through"
        },
        "syntax": {
            "color" : "#a1b56c"
        }
    },
    

  3. Allow font decoration (i.e. underline, strike-through). This request is connected to the previous one and would allow adding a "struck though" decoration on completed tasks in a list.

    "listCheckboxComplete": {
        "color" : "#585858",
        "font": {
            "decoration": "line-through"
        }
    },
    
Sign In or Register to comment.