Tokenz

by Ferenc Moricz
5
4
3
2
1
Score: 54/100

Description

The Tokenz plugin simplifies the insertion of symbols, emojis, and frequently used snippets in Obsidian using customizable short code mappings. It comes with pre-installed mappings for over 1,800 emojis and classic smileys, while also allowing users to define their own codes for specific symbols or text snippets. This flexibility makes it easy to insert common or specialized characters quickly, enhancing note customization and efficiency. The plugin supports multiple formats for short codes, making it adaptable to various user preferences.

Reviews

No reviews yet.

Stats

4
stars
846
downloads
0
forks
599
days
474
days
474
days
4
total PRs
0
open PRs
1
closed PRs
3
merged PRs
1
total issues
0
open issues
1
closed issues
27
commits

Latest Version

a year ago

Changelog

*B settings: A bug in save settings has been fixed(+added a log counter) *B app: Minor coding and logging fixes

README file from

Github

Use your favourite icons, special characters and frequently used snippets with ease!
You can insert them to your document using short code mappings:

  • Built-in short code maps:
    • emojis, like :smile: 🙂 or :wink: 😉 (1800+ installed by default),
      and the classic, good old
    • smileys, like :-) 🙂, 8-D 😎 (installed by default)
  • User defined short code maps. You can use any format you'd like: /prog-50 ▋, .success 🏆, !movie 🎥 For further explanation and a short configuration guide see 2. User defined code maps .

Demo video showing the features:

Configuration

1. Installation

1.1 From Obsidian's Community plugin collection

Suggested method, the easiest way to install:

  1. Open settings (Gear icon)
  2. Click Options / Community plugins / Community plugins, Browse... button
  3. Search for "Tokenz"
  4. Install and Enable
  5. Start typing some pre-installed token, e.g. :)
1.2 From sources

It's also possible to install it manually:

  1. Get the sources: git clone https://github.com/ferenk/obsidian-tokenz
  2. Init the sources folder: cd obsidian-tokenz; npm install
  3. Build the plugin: npm run build
  4. Create a folder in your Obsidian wallet: mkdir <your wallet's path>/.obsidian/plugins/tokenz
  5. Copy the plugin's files main.js, manifest.json, styles.css into the folder just created
  6. Restart Obsidian and enable the "Tokenz" plugin
  7. Start typing :)

2. User defined code maps

It's easy to define your own code maps. You can choose any format for your short codes (tokens). But you can also mix different formats (see 4.).

  1. Choose a name for your code map, e.g my code map
  2. Create a folder named data in <Your wallet's path>/.obsidian/plugins/tokenz
  3. Create an index file of the code maps in the data folder just created. It's name must be maps.lst.
    Example data/maps.lst:
    my_code_map.json
    
  4. Create your own code map file. Its structure is very simple, for example here are are the codes for our sample paragraph(it also demonstrates the mixed usage of different token formats)
    Example my_code_map.json to enter the sample lines
    {
        "/prog-20":         "▎",
        "/prog-50":         "▋",
        "/prog-80":         "▉",
        ".success":        "🏆",
        ".idea":           "💡",
        "|tv_episode|":    "📺",
        "!movie":          "🎥"
    }
    

And now you can insert these symbols to your document this way:

Format Short code example Result
IRC style /prog-20 20%, /prog-50 /prog-90 90% => ▎ 20%, ▋ 50%, █ 90%
CSS class .idea, .success => 💡, 🏆
Any "crazy" style tv_episode

3. Settings

Highlighting

Token text highlighting is enabled for all kind of code blocks by default, but you can enable/disable any sets of block names with rulesets. The format of these rulesets is: {+|-}<block name pattern>, ...

The rules are separated by commas and the rules are applied in the order of appearance. You can use the wildcard character * to match any character sequence (even "") and the ? character to match any single character. Some examples:

  • +*: Enable highlighting for all block names
  • -?*: Disable highlighting for named blocks but still enable it for unnamed blocks (?* ensures that the length of the name is at least 1)
  • -*, +html: Enable html block highlighting, all others are disabled
  • -*, +*js*: Enable highlighting for all block names containing "js" (e.g 'dataviewjs' blocks), all others are disabled

And a final example with an explanation of how it is applied:

-*, +*js*, +javascript, -*json*

  1. ( +* ) (Hidden rule)This is the default starting state, every evaluation starts with this. It enables highlighting for all block names.This is a practical starting state for negative rules.
  2. -* You can start with this rule to have the opposite starting state. Now all block names are disabled, even the empty ones (use -?* to keep them enabled). This is ideal for positive rules.
  3. +js This rule re-enables highlighting for all block names containing "js"
  4. +javascript Enable "javascript", too
  5. -json This rule disables highlighting for all block names containing "json"

So as the result of this ruleset, the empty block name will be disabled, "js" and "dataviewjs" (for example) will be enabled, "javascript" will be enabled, too. But "json" will be disabled.

Note that the order of the rules matter. Rule 4 has to appear later than rule 2, because *json* is more specific than *js*. So the rule containing "js" would erase the effect of a previously applied rule containing "json".

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Emoji Toolbar
5 years ago by oliveryh
An Obsidian plugin to quickly add emojis into your notes
Relay
2 years ago by System 3
Multiplayer Mode for Obsidian
Emoji Shortcodes
5 years ago by phibr0
Emoji Shortcodes - Obsidian Plugin | Adds Support for Emoji Shortcodes to Obsidian
Timeline
5 years ago by George Butco
Obisdian.md plugin for creating timelines
Icon Shortcodes
4 years ago by AidenLx
Obsidian Plugin: Insert emoji and custom icons with shortcodes
Show Current File Path
5 years ago by Ravi Mashru
Obsidian plugin to show the file path of the current file in the status bar
Discord Rich Presence
6 years ago by Luke Leppan
Update your Discord Status to show your friends what you are working on in Obsidian. With Discord Rich Presence.
Search on Internet
5 years ago by Emile
Add context menu items in Obsidian to search the internet.
Workbench
6 years ago by ryanjamurphy
A plugin to help you collect working materials.
Regex Pipeline
5 years ago by No3371
An Obsidian plugin that allows users to setup custom regex rules to automatically format notes.
Mxmind Mindmap
2 years ago by mxmind
mxmind for obsidian plugin
Lineage
2 years ago by ycnmhd
Gingko-like interface in obsidian
Emoji Magic
3 years ago by simplgy
Makes it easier to add emojis using an improved keyword search
Hide Sidebars on Window Resize
5 years ago by NomarCub, Michael Hanson
A simple Obsidian plugin to hide the sidebars when the window gets narrow.
Prompt ChatGPT
2 years ago by Coduhuey
Discordian Theme
5 years ago by @radekkozak
Discordian plugin for tweaking Discordian theme
Markdown Furigana
5 years ago by Steven Kraft
Simple Markdown to Furigana Rendering Plugin for Obsidian
Electron Window Tweaker
5 years ago by mgmeyers
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.
Youglish
5 years ago by Noureddine Haouari
Use YouTube to improve your pronunciation. YouGlish plugin gives you fast, unbiased answers about how words is spoken by real people and in context.
Dangerzone Writing
5 years ago by Alexis Rondeau
A plugin that forces you to write for X seconds. If you pause for more than 5 seconds, everything you've written in this note is DELETED.
PF2e Statblocks
2 years ago by Tyler Pixley
Allows Obsidian to render Pathfinder 2e statblocks cleanly, using only Markdown-based syntax.
Add links to current note
6 years ago by MrJackphil
This plugin adds a command which allows to add a link to the current note at the bottom of selected notes
Footlinks
5 years ago by Daha
Obsidian plugin that extracts urls from the main text to footer, offering a better reading/editing experience.
Antidote Grammar Checker Integration
3 years ago by Heziode
An Obsidian integration of Antidote, a powerful grammar checker
Emoji Autocomplete
2 years ago by KraXen72
Emoji Shortcodes Autocomplete for Obsidian
Ego Rock
2 years ago by Ashton Eby
An obsidian plugin that implements a basic taskwarrior UI for listing and modifying tasks.
Readwise Community
5 years ago by renehernandez
Sync Readwise highlights into your obsidian vault
Canvas Mindmap Helper
2 years ago by Tim Smart
Nexus AI Chat Importer
2 years ago by Superkikim
Title index
5 years ago by renmu123
markdown_index is an extension that can add serial numbers to your markdown title.
S3 Image Uploader
3 years ago by jvsteiner
This project implements an image uploader, similar to others offered by the community, with one important difference: you can provide your own s3 based storage, instead of relying on a third party service, such as imgur.
Text Progress Bar
3 years ago by Michael Adams
Low-fi text-based progress bar for Obsidian
Link indexer
5 years ago by Yuliya Bagriy
Another Sticky Headings
2 years ago by Zhou Hua
Augmented Canvas
2 years ago by Léopold Szabatura
Supercharge your Obsidian canvas experience with AI features.
Emoji Titler
3 years ago by Hyeonseo Nam
Notes dater
3 years ago by Paul Treanor
Adds created_on and updated_on dates of the active note to status bar
Adjacency Matrix Maker
5 years ago by SkepticMystic
Creative an interactive adjacency matrix of your Obsidian vault
Yesterday
2 years ago by Dominik Mayer
Obsidian plugin providing Yesterday journaling support
JavaScript Init
5 years ago by ryanpcmcquen
Run custom JavaScript in Obsidian.
oblogger
3 years ago by loftTech
tag explorer and frontmatter logger plugin for obsidian
Open cards in imdone.
5 years ago by saxmanjes
Open cards in imdone from obsidian
Quadro
2 years ago by Chris Grieser (aka pseudometa)
Obsidian Plugin for social-scientific Qualitative Data Analysis (QDA). An open alternative to MAXQDA and atlas.ti, using Markdown to store data and research codes.
BookFusion
2 years ago by BookFusion
BookFusion Obsidian Plugin
Text Wrapper
3 years ago by smx0
Plugin for Obsidian
Mochi Cards Exporter
5 years ago by kalbetre
Mochi Cards Exporter Plugin for Obsidian
Image to text OCR
2 years ago by Dario Baumberger
Convert a image in your note to text.
InlineCodeHighlight
3 years ago by Dimava
Metadata Icon
2 years ago by Benature
change metadata entry icon
Plugin Reloader
2 years ago by Benature
manual reload plugins
simple-sketch
2 years ago by Yoh
an Obsidian plugin to create minimal sketches
Julian Date
5 years ago by thek3nger
Plugin for Obsidian to add the current Julian Date for astronomical observations
EmoTagsTitler
3 years ago by Cyfine
Alias Management
2 years ago by WithMarcel
Identify duplicate notes based on similar aliases and filenames in Obsidian.
Movie Search
2 years ago by Gubchik123
Obsidian plugin to help you create movie notes.
Expiration-Date-Tracker
3 years ago by Marius Wörfel
Opsidian plugin to keep track of all expiration dates, for example, for your groceries.
Hoarder Sync
a year ago by Jordan Hofker
An Obsidian.md community plugin that allows syncing with https://karakeep.app/
Seafile
2 years ago by conql
Update Time
2 years ago by Sébastien Dubois
Obsidian plugin that updates front matter to include creation and last update times
KeepSidian
2 years ago by lc0rp
Filtered Opener
2 years ago by Roman Kubiv
Sets of notes defined by filters to open notes.
Markdown Media Card
2 years ago by Zhou Hua
Track-a-Lot
2 years ago by Iulian Onofrei
This is a tracker plugin for Obsidian
Hugo codeblock highlight
2 years ago by aarol
Highlights lines in code blocks using Hugo's hl_lines syntax
Auto Definition Link
2 years ago by Nolan Carpenter
This is a plugin for Obsidian to automatically create links to blocks in your vault
PARA Workflower
2 years ago by KevTheDevX
Helpful commands for starting and working in your vault with the PARA method.
Gitlab Wiki Exporter
2 years ago by Josef Rabmer
Emoji Picker
a year ago by Ali Faraji
An up-to-date Emoji Picker for obisian.md, using emoji-mart.
Hash Pasted Image
2 years ago by Minh Vương
Auto rename pasted images added to the vault via hash algorithm SHA-512
Canvas LMS Task Importer
2 years ago by jordaeday
Imports assignments from Canvas LMS as tasks in Obsidian
TG Emoji Search
a year ago by MarsBatya
Orion Publish
2 years ago by Sean Collings
Emoji selector
7 months ago by summer
Insert custom emojis with quick search, auto-suggestions, and customizable templates.
Immich
2 years ago by Talal Abou Haiba
PDF Emojis
10 months ago by Marcel Marusiak
Obsidian plugin that allows you to export your notes as PDFs while retaining emojis in headings, bold texts, and anywhere else in your notes! 🎉
Tencent COS for Imgur
a year ago by bobostudio
🔥 Obsidian 腾讯云 COS 图床插件
ImgBB Uploader
2 years ago by Jordan Handy
An image uploader to imgBB for Obsidian
Suggest Notes
2 years ago by Doggy-Footprint
Post To Bluesky
2 months ago by Rie Tamura
Post selected text or entire note to Bluesky.
Clojure Plugin Host
a year ago by Vladimir "farcaller" Pouzanov
A Clojure plugin host, allowing the creation of simple Clojure-based plugins right inside Obsidian