Giter Site home page Giter Site logo

der-tobi / obsidian-simple-mention Goto Github PK

View Code? Open in Web Editor NEW
34.0 6.0 5.0 1.09 MB

Obsidian plugin for mentioning people

License: GNU General Public License v3.0

JavaScript 1.82% TypeScript 74.05% CSS 24.12%
obsidian-md obsidian-plugin mention mentions

obsidian-simple-mention's Introduction

Obsidian simple mention

A simple plugin that visually highlights mentions and suggests existing ones as you write (except in codeblocks).
The mention prefix can be customized and defaults to @.
Find all occurrences of a mention in the side pane and jump to the corresponding line in the document.
Distinguish your personal mentions from the others by a different color.

Overview obsidian simple mention

Filter your mentions by a phrase

Filter your mentions

Settings

You can:

  • set the trigger phrase (@)
  • set the color of the mentions (green)
  • set the color of your own mentions (deeppink)
  • set the name, how you want to mention yourself (Me)
  • delete the cache (indexeddb)

Shortcuts

In edit mode

ctrl+space or ctrl+click on a mention, opens the right side pane with all occurrences of that mention.

Edit mode shortcuts (ctrl+space or ctrl+click)

In preview mode

When you click on a mention, the right side pane opens with all occurrences of that mention.

Preview Mode shortcuts

Known issues

  • We need to restart Obsidian after
    • adjusting the trigger phrase for the changes to take effect.
    • changing the name of yourself for the changes to take effect.
    • ignoring a directory
    • deleting the cache
  • Style could currently not be overridden by a template (simple fix)

Ideas

  • Group mentions
    • eg. @group-x(@bob,@lisa)
    • usage: find all mentions of @bob and @lisa by searching for @group-x
  • Multi select of mentions in the view
  • Show sub bullet points
  • own color for each "person"

obsidian-simple-mention's People

Contributors

der-tobi avatar overflowy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

obsidian-simple-mention's Issues

Wrong entries in mention list

I have some links to google maps and TikTok videos and plugin gives it to me as mention:

I think it's because it parses all text with @ sign with text on the left too.

Feature Request: @[[Name]]

Hi, I don't know if this specific use case is something that only fits me, but I have notes related with a person, and sometimes I don't remember who is who, so I do a person note with their photo, information, etc.

So nowadays (without this extension) I usually mention people by [[Person]]...
So I'm wondering if there would be a possibility to generate some @[[Person]] mentions instead that would be considered mentions, and be links to a file all the same.

Alternatively, keep the mentions as they are, but allowing to create a note related the @person mention. idk if this makes sense..

Regards,

Mobile support?

Might I ask what the current limitation of using this plugin on mobile is?

Tags are also found in images

Hi,

while I use your plugin I've found another issue with the mention tags. Not only in codeblocks (#5). It seems that the search logic is too general for tags. The search is applied everywhere also in binary images.

Unfortunately this ended in some performance issue, so I have to disable the plugin until there is a solution. But you already work on the performance issues, right?

issue-with-mentions

Feature Request: New MentionView design.

I'm update simple-mention to 1.0.0,and it looks like:

image

image

I suggest MentionView design same the TagsView or TagCloud view will be more useful:

  1. List view show all of the @mentions, and count mention times.
  2. Click list item and use internal search funtions.
  3. Click @mentions in notes, also use internal search functions.

image
image

Show mentions in graph view

It would be very nice to have mentions in the graph view of obsidian. Currently tags are the thing to show in the graph view but using tags for mentions is not that great.

Ignore URLs, Formulas, Emails

The @ symbol is often found in URLs, formulas, queries, and Emails. It would be great if the plugin could exclude these instances so the mentions panel isn;t overrun with text that aren;t actually mentions.

Options disappeared symbol change

Hi, I'm using the Natural Languages Plugin, that plugin allows user to write dates with natural languages, and the trigger character is the @ sign, that conflicts with this plugin. So I went to settings and changed it to +, rebooted as per instruction.
When the product started, nothing reacted to the + sign. Went to see the options, and the plugin wasn't listed.

Don't know what happened, but feels like a bug

On MacOS the Shortcut interferes with the Emoji Keyboard Shortcut

Hi Tobi,

the default shortcut for the ejomi keyboard is CTRL + CMD + Space on MacOS. When using this command the simple-mention sidebar always opens, then I have to hit ESC to jump back to the editor and then I can use emojis. In src/CmDecorationExtension.ts line 65 I guess the check needs to handle && !e.metaKey, this way the bug would probably be fixed.

BR Tobi

Can't load local vault

After I installed simple-mention, the local vault could not be loaded and the obsidian interface was stuck at the loading workspace screen. When I uninstall simple-mention, obsidian can load the repository normally.

obsidian version: v1.0.3
simple-mention: 0.1.0

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.