Text Snippets

by Ariana Khitrova
5
4
3
2
1
Score: 38/100

Description

Category: Note Enhancements

The Text Snippets plugin is a game-changer for Obsidian users who want to boost their productivity. With this plugin, you can create and use text templates to replace repetitive phrases or sentences with just a few keystrokes. The plugin also supports live preview, allowing you to see the replaced text in real-time. Additionally, it offers advanced features like line breaks, tabstops, and cursor jumping, making it easy to navigate and edit your snippets. Whether you're writing articles, taking notes, or coding, this plugin is sure to save you time and effort.

Reviews

No reviews yet.

Stats

210
stars
46,450
downloads
27
forks
1,889
days
1,113
days
1,470
days
14
total PRs
7
open PRs
3
closed PRs
4
merged PRs
57
total issues
33
open issues
24
closed issues
0
commits

Latest Version

4 years ago

Changelog

Added mobile devices support

README file from

Github

Obsidian Text Snippets Plugin

This is a plugin for Obsidian (https://obsidian.md).

It allows you to replace text templates for faster typing, create your own snippets almost like in many text editors and IDE.

Live Preview support: check the toggle in plugin settings before using and restart plugin in Options > Community plugins.

You can use the shortcut (default CTRL/CMD + Tab) or the command Run snippet replacement by command palette (CTRL/CMD + P). There is also an option to use Tab and/or Space as the shortcut instead. The cursor need to be on the word you want to replace. You can replace text with spaces by selecting all the text.

Demo

demo

Features

  • Use $end$ to place the cursor after replacement in specific position
  • Use $nl$ to add line break in multiline snippet
  • $nl$ ignores next line break in Snippets settings, if the snippet ends with $end$, add additional newline
  • Use $tb$ to add a tabstop for the cursor to jump to (don`t use together with $end$)
  • Trigger the snippet shortcut without any eligible expansion to jump to the next tabstop
  • When enabling Tab as the shortcut, only if there are no eligilbe expansions nor jumps the, a normal Tab will be inserted

tabstop-demo

How to install

In Obsidian app

In Obsidian go to Settings > Third-party plugins > Community Plugins > Browse and search for Text Snippets.

Manually installing the plugin

  • Copy over main.js, styles.css, manifest.json to your vault VaultFolder/.obsidian/plugins/text-snippets-obsidian/.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Text Generator
4 years ago by Noureddine Haouari
Text Generator is a versatile plugin for Obsidian that allows you to generate text content using various AI providers, including OpenAI, Anthropic, Google and local models.
Easy Typing
5 years ago by yaozhuwa
This is a plugin of obsidian for users writing in an easy way.
Text Extractor
3 years ago by Simon Cambier
A (companion) plugin to facilitate the extraction of text from images (OCR) and PDFs.
Colored Text
3 years ago by Erinc Ayaz
Text Format
5 years ago by Benature
Format seleted text in Obsdidian.md
Colored Tags
3 years ago by Pavel Frankov
Colorizes tags in different colors.
Callout Manager
3 years ago by eth-p
An Obsidian.md plugin that makes creating and configuring callouts easy.
CSS Editor
3 years ago by Zachatoo
Edit CSS snippets in Obsidian.
Text Transporter
5 years ago by TfTHacker
Text Transporter - advanced text management for Obsidian.
MySnippets
5 years ago by Chetachi
MySnippets is a plugin that adds a status bar menu allowing the user to quickly manage their snippets within the comfort of their workspace 🖌.
Text expand
6 years ago by MrJackphil
A simple text expand plugin for Obsidian.md
Pieces for Developers
3 years ago by Pieces For Developers
Pieces' powerful extension for Obsidian-MD that allows users to access their code snippets directly within the Obsidian workspace
Translator
4 years ago by Haifeng Lu
A plugin for Obsidian to translate selected text.
Typing speed
4 years ago by supercyp
A little plugin for showing the current typing speed in obsidian
Typst Mate
3 months ago by azyarashi
Render math expressions with Typst instead of MathJax in Obsidian.
Typing Transformer
4 years ago by aptend
Improved, configurable auto formatting as typing in Obsidian
Snippetor
4 years ago by ebullient
An assist for creating CSS snippets for Obsidian
Slash snippets
a year ago by echo-saurav
Insert snippet of text with slash command
Regex Mark
2 years ago by Mara-Li
Remove Newlines
2 years ago by Elias Jaffe
A plugin for Obsidian.md which removes newlines and blank lines from selected or pasted text.
Snippet Commands
5 years ago by death_au
Registers custom css snippets as commands (which you can bind hotkeys to)
Text Finder
2 years ago by hafuhafu
Provides a find/replace window in edit mode similar to VSCode (supports regular expressions and case sensitivity).
Toggle Case
3 years ago by automattech
Obsidian plugin to toggle between `lowercase` `UPPERCASE` and `Title Case`
Snippets
5 years ago by Pelao
Jelly Snippets
3 years ago by Spencer Gouw
A simple text snippets plugin for Obsidian.md. BACKUP SNIPPETS BEFORE UPDATING.
Group Snippets
4 years ago by Mara-Li
Create folder of snippets to activate them in one click !
Text Transform
3 years ago by ipshing
Text Dataset Aid Plugin
3 years ago by Conner Ohnesorge
This is a obsidian plugin to help with the creation of personal jsonl datasets for text generation models.
Fill in the Blank (FITB)
3 years ago by Shawn McGee
Text Conversions
3 years ago by Juan D Frias
Text conversions for Obsidian
Snippets Manager
2 years ago by Venkatraman Dhamodaran
Snippets Manager (Text Expander) For Obsidian
Colorizelt
2 years ago by Artsem Holub (WiNE-iNEFF)
Easy color and clear selected text
复制图文 (Copy Image Text)
2 years ago by msgk
obsidian插件,复制笔记内容(包括文本和图片)到剪贴板
Dynamic Text Concealer
2 years ago by Matt Cole Anderson
Obsidian.md Plugin to conceal or replace user configured text patterns in Live Preview and Read Mode.
Pinyin Replacer
2 years ago by LarrySAL
Simple plugin to use the pinyin tones in obsidian without having to install extra keyboard layouts.
Textgrams
2 years ago by Akop Kesheshyan
Create and store ASCII graphics in your Obsidian
Text Focus
2 years ago by usysrc
Focus the text area when opening a new note.
Cliplet
7 months ago by namikaze-40p
An Obsidian plugin that serves as a clipboard and snippet manager — your own, separate from the OS clipboard.
Snippetsaurus
a year ago by Christian Humbert
Inline Code Copy
a year ago by Hongchen Lin
Arcane Obfuscate
2 years ago by Shusako
Obfuscate text in Obsidian.md with an arcane runic effect.
IMSwitch in Math Block
a year ago by XXM
Auto Math
2 months ago by Vladislav Sorokin
Auto-expands LaTeX snippets. External rules with live reload, Custom Rules Editor, and default math pack.