Home

Awesome

Text-expander

A bare-bones proof-of-concept implementation of a simple text-expander in Obsidian.

  1. Uses :: (two colons) to start the trigger-sequence
  2. Define your own custom trigger keyword like foo
  3. In the editor, type <kbd>::foo</kbd> + <kbd>ENTER</kbd> (or <kbd>Tab</kbd> or <kbd>Space</kbd>) to expand

Built-in is <kbd>::date</kbd> which will expand to todays date such as Mon Nov 09 2020 and <kbd>::time</kbd> which will expand to your current timezone's time.

Demo

Demo

Settings

Settings

Hacking and Help

This is mostly a proof of concept for myself and it's rather, erm, "pragmatic" code. If you see something you'd like to change, let me know. Here's how you can fiddle around on your own yourself and send a pull-request

Clone and make new branch

Install deps

Edit

Commit-prep

Publish pull request