Skip to content

Logseq features Page Tags and Hierarchy

YU edited this page Oct 22, 2023 · 7 revisions

Logseq features Page Tags and Hierarchy, which are useful for organizing pages into groups.


Page Tags

  • Example: tags:: [[Page A]], [[Page B]]

Page Tags allow you to assign tag attributes like keywords or categories to each page. Complementing page names with tags makes it easier to organize pages by, for example, projects, categories, priorities, etc.

In query searches, you can specify specific page tags.

  • How to add Page Tags (Practice)

    1. Open any page and create page properties to add tags.
      1. Select the first block of that page.
      2. Type "::" at the beginning, and a suggestion list will appear.
      3. Select "tags" to specify page tags.

        The page tag property is created but is empty.

      4. Set a value for this property.
        1. Make sure the cursor is on the right side of "::".

          ⚠️ One half-space is required on the right side of "::".

        2. Create a link by typing "[[]]" and selecting a page name from the options that appear in the center.
      5. This completes the setup for one page-tag.
        • Example: tags:: [[Page A]]
    2. To add multiple page tags:
      1. Add a comma "," after "]]" and create another link as before.
        • Example: tags:: [[Page A]],[[Page B]]

Links

  1. Properties (docs.logseq.com)
  2. Page Links vs. Tags in Logseq

Hierarchy

  • Example: Parent Page/Child Page

Logseq's hierarchy feature allows you to group pages at different levels by adding a slash "/" to page names. This helps organize information at various levels such as categories, projects, and more.

  • How to create pages with hierarchies

    • Separate page names with a slash "/" to create a hierarchy.
      • Example: Logseq/Plugin
  • Notes

    1. It's not necessary to have a parent page. If you start by creating a child page, the parent page will also be created, empty.
    2. When creating a new page using links, you can use hierarchies.

      If a page name at any hierarchy level contains a space, enclose it in "[[]]" to ensure the page is created correctly.

    3. Avoid making hierarchies too deep. If you need to make changes later, it can become hard to manage.
      • Consider the possibility that tags may change in the future.

        In that case, you would need to change the parent page name, and all its subpages' names will be updated as well.

    4. Linked references to child pages are included in the parent page's "Linked References."

      This can be an advantage or disadvantage. Too much information can dilute the effect.

    5. Hierarchy is also called "namespaces".

Link

  1. How to Use Namespaces