/logseq-plugin-show-weekday-and-week-number

Enhance journal functions of Logseq (Beside Journal Title and 2 Lines Calendar etc...)

Primary LanguageTypeScriptMIT LicenseMIT

Logseq Plugin: Show weekday and week-number πŸ“†

  1. Show weekday and week number beside journal titles.
  2. Show the mini-calendar that has navigational links on Daily Journal. Provides access to previous and subsequent single journals, and links to weekly Journal and monthly Journal.

ζ—₯本θͺž / latest release version License Downloads / Published 20230526


Options

Behind Journal Title ➑️

  • The week number for that week will be generated. Like below
    1. image
    2. image

Highlight holidays for world country

Mini-calendar πŸ—“οΈ (Journal boundaries)

  • Display a 2 lines calendar on journals. Smooth access to previous and subsequent dates on a single date page or journals.
    1. Highlight holidays for world country
    2. Show indicator (dot) of journal entries πŸ†™
    3. Show Lunar-calendar date for Chinese

README用

Weekly Journal

  • Click the week number link to open it and generate a page. If there is no content available on a page with a week number like [[2023-W25]], a template will be inserted. In plugin settings, it possible to set user template.
    1. format option πŸ†•
      1. yyyy-Www -> 2024-W01
      2. yyyy/qqq/Www -> 2024/Q1/W01 *
      3. yyyy/Www -> 2024/W01 *

      *hierarchy

    2. Inserting Advanced queries into the template increases flexibility.
    3. Include rendering in template

"This Week" section (collection of those date links)

  • It becomes references for the day by nesting it in date links.

Monthly Journal πŸŒ› / Quarterly Journal

  • Click the link on the left side of the mini calendar will open a page like [[2023/10]].

    There is page generation feature. πŸ†™

Slash Command

Week-number etc.. Document here


Getting Started

Install from Logseq Marketplace

  • Press [---] on the top right toolbar to open [Plugins]. Select Marketplace. Type Show in the search field, select it from the search results and install.

image

Usage

  1. The style be applied to journals or the single journal page , the right sidebar. First, please configure the plugin settings.
    1. Select either US format or ISO format.

    Document here


Showcase / Questions / Ideas / Help

Go to the discussion tab to ask and find this kind of things.

Contribution / Prior art / Credit

  1. Script > Show week day and week number - discuss.logseq.com @danilofaria, @ottodevs
  2. Library > date-fns
  3. LIbrary > date-holidays

    Highlighting holidays is now possible thanks to the "date-holidays" library.

  4. Library > @6tail/ lunar-typescript for Chinese Lunar
  5. Icon > IonutNeagu - svgrepo.com
  6. Author > @YU000jp