Tag Summary

by J.D Gauchat
5
4
3
2
1
Score: 40/100

Description

The Tag Summary plugin for Obsidian allows users to create dynamic summaries by extracting and grouping blocks of text or list items based on specific tags. It scans notes for tagged paragraphs, blocks, or list items and compiles summaries according to user-defined criteria, such as tags to include, exclude, or combine. The plugin provides customization options, including displaying text in callouts, removing tags from the summary, or linking back to the original note. It also supports granular list processing by including only tagged items or their children.

Reviews

No reviews yet.

Stats

66
stars
14,849
downloads
14
forks
1,283
days
956
days
1,162
days
4
total PRs
1
open PRs
3
closed PRs
0
merged PRs
34
total issues
20
open issues
14
closed issues
0
commits

Latest Version

3 years ago

Changelog

Bugs fixed

README file from

Github

Tag Summary

This is a plugin for Obsidian.

Tag Summary creates summaries with paragraphs or blocks of text that share the same tag(s). This plugin scans your files looking for blocks of text (text separated by empty lines) and creates a summary with all the blocks that contain the specified tag(s). For example, if you have the following paragraphs in your notes:

Monsters are real, and ghosts are real too. They live inside us, and sometimes, they win.
#chapter1
People think that I must be a very strange person. This is not correct. I have the heart of a small boy. It is in a glass jar on my desk.
#crazy
Great minds discuss ideas; average minds discuss events; small minds discuss people.
#chapter1 #crazy

You can create summaries with the paragraphs that include the #chapter1 and #crazy tags. For instance, if you create a summary with the #chapter1 tag, the first and third paragraphs will be included, but if you create a summary with the #crazy tag, the second and third paragraphs will be included instead.

Add a Summary to a Note

Summaries are added to a note with a code block and the add-summary identifier. The tags are specified inside the code block with the tags: label, as shown next.

```add-summary
tags: #chapter1
```

If you need to include blocks of texts with different tags, add the tags separated by a space, as shown next.

```add-summary
tags: #chapter1 #crazy
```

A summary includes every block of text that contains any of the tags specified by the tags: label. In the last example, the summary will include the three paragraphs listed above, because each paragrah contains at least one of the tags specified by the label (#chapter1 OR #crazy). If you want to include only the blocks of text that contain all the tags on the list, you can declare the include: label instead, as in the following example.

```add-summary
include: #chapter1 #crazy
```

In this case, only the blocks of text that include both tags will be added to the summary. If you process the paragraphs listed above, only the third paragraph will be added to the summary because it is the only one that includes the #chapter1 AND #crazy tags. If what you want instead is to exclude the blocks of text that contain a specific tag(s), you can add the exclude: label, as shown next.

```add-summary
tags: #chapter1
exclude: #crazy
```

This will add to the summary every block of text that includes the #chapter1 tag but does NOT include the #crazy tag. If you process the paragraphs listed above, only the first paragraph will be added to the summary. The exclude: label can be combined with the tags: and include: labels to specify complex conditions. The following example creates a summary with the blocks of text that include the #chapter1 OR #chapter2 tags and also contain both the #chapter3 AND #chapter4 tags, but do NOT contain the #crazy tag.

```add-summary
tags: #chapter1 #chapter2
include: #chapter3 #chapter4
exclude: #crazy
```

Command to Add a Summary

The plugin includes the Add Summary command to add a summary to a note.

  • Open the note where you want to include the summary.
  • Move the cursor to the position where you want to add the summary.
  • Press Command+P (Mac) or Control+P (Windows) to open the Command palette. (or drag down the note on a mobile device)
  • Search for the Tag Summary: Add Summary command and click on it.
  • On the popup window, select the tags you want to include and exclude to create the summary and press the Add Summary button.

After this, your note should include a code block like the examples above. The Add Summary command allows you to select only one tag to include and another to exclude, but you can manually add all the tags you want separated by a space, as in tags: #chapter1 #chapter2.

Summary Configuration

The plugin includes the following three options to configure the style of the summary.

  • Show Callouts: Shows each block of text inside a callout box (default). If disabled, the blocks are displayed as plain text.
  • Show Link: Includes a link at the top to open the note where the paragraph was taken from.
  • Remove Tags: Removes the original tags from the text.

There are also two more options to determine how the plugin will process lists. If the options are enabled, the plugin will process each item of a list independently and include in the summary only the items that match the tags. If you want the plugin to process the entire list as a block of text, you can disable this options.

  • List Items: Include only the items of a list that contain the tag(s), not the entire list.
  • Include Child Items: Include the child items of a list.

Usage

This plugin does not affect the way Obsidian, links, and tags work. You can still organize your notes the way you always do, but now you can assign tags to paragraphs, blocks of text, or items on a list, and then create summaries with those that include a specific list of tags.

When structuring your notes, please consider the following:

  • The plugin considers a block of text to be all the text between empty lines. If you add an empty line in the middle of a paragraph or a block of text, the plugin will consider that as two different blocks.
  • Tags can be specified in any position of the paragraph or block of text, even in a new line at the end, as long as there are no empty lines in between.

Safety

This plugin does not modify the original notes, it doesn't download or upload any information to the web, and doesn't store or retrieve any private information.

Disclaimer

This plugin comes with no guarantee of any kind, and neither the author nor Obsidian are responsible for any loss of data or inconvenience. Use this plugin at your own risk.

From the Author

I created this plugin for personal use. I will try to post updates from time to time. If you find a bug, you can contact me through my website: www.jdgauchat.com

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
AI Note Tagger
a year ago by Jasper Mayone
Auto tagging obsidian notes w/ AI
AI Tagger
2 years ago by Luca Grippa
Simplify tagging in Obsidian. Instantly analyze and tag your document with one click for efficient note organization.
AI Tagger Universe
a year ago by Hu Nie
An intelligent Obsidian plugin that leverages AI to automatically analyze note content and suggest relevant tags, supporting both local and cloud-based LLM services.
AidenLx's Folder Note - folderv Component
4 years ago by AidenLx
Atomizer
a year ago by Zac Bagley
An AI-Driven Obsidian plugin designed to turn lengthy text into insightful atomic notes. Perfect for turning source notes into ideas in a Zettelkasten workflow.
Auto Archive
3 years ago by Shane Burke
Auto Archive plugin for Obsidian
Automatic Linker
a year ago by Kodai Nakamura
Automatic Table Of Contents
3 years ago by Johan Satgé
💠 An Obsidian plugin to create a table of contents in a note, that updates itself when the note changes
Cards View
2 years ago by Maud Royer
Plugin for Obsidian.md. Displays a card view of your notes.
Carry-Forward
5 years ago by Jacob Levernier
An Obsidian Notes plugin for generating and copying block IDs, and copying lines with a link to the copied line
Daily Note Collector
2 years ago by Adar Butel
An Obsidian plugin that adds links to new notes to your daily note.
Dataview Autocompletion
a year ago by Daniel Bauer
Discrete
9 months ago by shkarlsson
Footlinks
5 years ago by Daha
Obsidian plugin that extracts urls from the main text to footer, offering a better reading/editing experience.
Header Adjuster
2 years ago by Valentin Pelletier
Header level Reformat Plugin for Obsidian
Header Counter
2 years ago by Nancy Lee
Header navigation
a year ago by readwithai
An obsidian plugin to navigate around and toggle folding on headers
Inbox Organiser
a year ago by Jamie Hurst
Obsidian plugin to capture any new notes into an inbox and periodically prompt to organise these into other folders within the vault.
Influx
4 years ago by Jens M Gleditsch
An alternative backlinks plugin, which displays relevant and formatted excerpts from notes with linked mentions, based on the position of mentions in the notes' hierarchical structure (bullet level indentation).
Keyword Highlighter
2 years ago by Marcel Goldammer
Automatically highlight specified keywords within your Obsidian notes for enhanced visibility and quick reference.
Line Arrange
2 years ago by Chitwan Singh
Obsidian Plugin For Arranging Lines.
Link indexer
5 years ago by Yuliya Bagriy
Link Maintainer
a year ago by wenlzhang
An Obsidian plugin that helps you maintain note links when splitting or reorganizing notes.
Link Range
3 years ago by Ryan Mellmer
Add ranged link support to Obsidian
Markdown Tags
a year ago by John Smith III
Enhance your Markdown documents with custom tags. Use predefined or custom labels, customizable colors, and arrow indicators to visually track tasks and statuses.
Multiple Daily Notes
a year ago by Vab Kapoor
Obsidian plugin for adding multiple daily notes, with some extra configurations too.
Multiple Notes Outline
3 years ago by iiz
Mxmind Mindmap
2 years ago by mxmind
mxmind for obsidian plugin
Note 2 Tag Generator
2 years ago by Augustin
Note Companion AI
8 months ago by Benjamin Ashgan Shafii
Note Companion: AI assistant for Obsidian that goes beyond just a chat. (prev File Organizer 2000)
Note ID
a year ago by Dominik Mayer
Displays notes by their ID, enabling structured sequences for manuscripts or a Zettelkasten ("Folgezettel")
NoteMover shortcut
a year ago by Lars Bücker
Quickly and easily move notes to predefined folders. Perfect for organizing your notes.
oblogger
3 years ago by loftTech
tag explorer and frontmatter logger plugin for obsidian
obsidian floating toc
4 years ago by curtgrimes modified by Cuman
Page Heading From Links
5 years ago by Mark Beattie
Obsidian plugin to populate page headings
Pending notes
3 years ago by Ulises Santana
Obsidian plugin for searching links without notes in your vault.
Rapid Notes
3 years ago by valteriomon
Smart Link Alias
a year ago by Victor Perez-Cano
Subdivider
2 years ago by Tricster
Subdivider converts your notes into nested folders, automatically creating separate files for each subheading.
SystemSculpt AI
2 years ago by SystemSculpt.com
Enhance your Obsidian App experience with AI-powered tools for note-taking, task management, and much, MUCH more.
TagMany
3 years ago by Joshua Martius
Tag many Notes at once in Obsidian
Template Folder
10 months ago by LucasOe
Obsidian plugin to move notes to a folder when applying a template.
Title Serial Number
4 years ago by Domenic
This is an obsidian plugin, and it adds serial numbers to your markdown title.
Typing
3 years ago by Nikita Konodyuk
Programmatic customizations for groups of notes
WonderBox
a year ago by Christian HUMBERT
Workbench
6 years ago by ryanjamurphy
A plugin to help you collect working materials.