• Stars
    star
    156
  • Rank 239,589 (Top 5 %)
  • Language
    TypeScript
  • Created almost 4 years ago
  • Updated 10 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Obisdian.md plugin to keep the filename and the first header of the file in sync

Obsidian Filename Heading Sync

This is a Obsidian plugin to keep the filename and the first heading of a file in sync

demo

Note: This plugin will overwrite your first heading at the top of the file the moment you open it, so this can be considered destructive.

Discussion on the obsidian forum here

Features

  • When renaming the current file -> will update the heading
  • When opening a file that doesn't have a heading yet -> will insert one
  • When opening a file with a different heading than the current file name -> will update the heading
  • When updating the heading of a file -> will rename the file

If you're not a fan of automatic renaming you can also disable the "File Save Hook" and "File Open Hook" in settings and just use the manual sync commands (thanks @mnaoumov!)

This plugin conflicts with plugin X, how do I solve this?

  • First check if this is already solvable by adding a regex rule. For example if your file always ends in myfile.foo.md (ending foo), you can exclude this globally by adding the following regex rule in the plugins settings: .*\.foo\.md

  • If that didn't do it, see if the other plugin acts on file-open. If it does, you can go into the settings of this plugin and disable the 'file open hook' as a workaround. (You can also fully disable automatic syncing by disabling 'file save hook' as well)

  • If this still didn't solve the issue, open a new issue with steps and examples how to reproduce the problem.

Conflict with 'templater'

Disable the file-open hook in settings and they should play together nicely (#40)

Current limitations and to do

  • When renaming a file that isn't the current file, nothing will happen. The heading will get updated the next time the file is opened in edit mode
  • Special characters that obsidian can't handle will get auto-stripped

LICENSE

MIT

More Repositories

1

markright

โžก Electron powered markdown editor with live preview
Clojure
914
star
2

proton

space-atom. spacemacs and sublimious style editing in atom
Clojure
567
star
3

maskedemail-cli

CLI to create fastmail masked emails
Go
160
star
4

sublimious

Sublime configuration kit inspired by spacemacs and focused around VIM
Python
132
star
5

chatgpt-ui

ChatGPT UI with auth, OpenAI, Claude, Gemini support, written in Elixir + LiveView
Elixir
76
star
6

ex_openai

Auto-generated Elixir SDK for OpenAI APIs with full typespecs, docs and streaming support
Elixir
61
star
7

binance.ex

Autogenerated Elixir wrapper for the Binance public API
Elixir
59
star
8

alfred-devonthink

Alfred workflow for interacting with DEVONthink
JavaScript
46
star
9

solana-react-quickstart

Quickstart template for Solana development with wallet-adapter and CRA
TypeScript
45
star
10

dotfiles

David's dotfiles repository
Lua
39
star
11

applescripts

My ever growing collection of applescript scripts
AppleScript
38
star
12

ajom

atom plugins in clojurescript
Clojure
36
star
13

ProxMate

Firefox / Chrome Extension for unblocking restricted pages (e.g. Grooveshark / Youtube)
JavaScript
33
star
14

go-rekordbox

Rekordbox database wrapper in Go
Go
17
star
15

slack-thread-summarizer

GPT powered slack bot for summarizing/acting on messages and threads, written in Elixir
Elixir
13
star
16

proxmate-chrome

ProxMate for chrome
CoffeeScript
12
star
17

vscodecljs

Proof of concept vscode extension in ClojureScript
Clojure
11
star
18

exkit

cross browser extension framework
JavaScript
11
star
19

om-react-native-demo

Objective-C
9
star
20

TwilioSmsRedirect

SMS redirect through Twilio and parse
JavaScript
9
star
21

proxmate.me

Source code for https://proxmate.me
CSS
9
star
22

alfred-wifi-toggle

Alfred workflow to turn WiFi on/off
Shell
7
star
23

unisync

Sync app settings, configs and plists - powered by unison
Go
7
star
24

proton-bin

binary for proton. Issues and PRs to https://github.com/dvcrn/proton please!
CSS
6
star
25

ankimo

๐Ÿ  Browser extension for sending Japanese words to Anki
Clojure
6
star
26

cocoro-sdk

Unofficial TypeScript SDK for the SHARP Cocoro API
TypeScript
4
star
27

homebridge-sharp-cocoro

Homebridge plugin for SHARP Cocoro appliances
TypeScript
4
star
28

elixir-cli-chatgpt

ChatGPT implemented with Elixir GenServer
Elixir
4
star
29

api.proxmate.me

Sourcecode for api.proxmate.me
CoffeeScript
3
star
30

sublime-last-used-tab

Sublime plugin for jumping to the last visited tab in window
Python
3
star
31

gpr

minimal github pull request patcher
JavaScript
3
star
32

oosbl

Code Generation of .osb (Osu Storyboard) Files
PHP
3
star
33

phoenix-lite

Simplified Elixir Phoenix Framework starter template
Elixir
3
star
34

gptclassifier

Tool to classify and find matching names for the given content
Go
3
star
35

rekordbox-plexamp-sync

Sync Rekordbox playlists to Plexamp
Python
3
star
36

homebridge-netcast-tv

Homebridge plugin for interacting with LG Netcast-based TVs (2012, 2013)
TypeScript
3
star
37

proxmate-firefox

ProxMate for firefox
CoffeeScript
2
star
38

binance-staking-to-csv

CLI to convert Binance locked staking data to a CSV usable by apps like CoinStats
JavaScript
2
star
39

alfred-do-not-disturb

Quickly toggle Do Not Disturb with alfred
Swift
2
star
40

maskedemail-js

JS wrapper for FastMail's MaskedEmail
JavaScript
2
star
41

lg-netcast

Node package to interact with LG netcast TVs (2012, 2013)
TypeScript
2
star
42

itunes.ex

iTunes search API wrapper in Elixir
Elixir
2
star
43

omnifari

Safari extension for sending things to Omnifocus
JavaScript
2
star
44

scheduler.ex

Simple scheduler implemented in GenServer
Elixir
2
star
45

go-1password-cli

Golang wrapper around 1Passwords `op` CLI
Go
1
star
46

kustomize-plugin-1password

Kustomize plugin to generate secrets from 1Password CLI
Go
1
star
47

lab-cli

WIP cli for GitLab
JavaScript
1
star
48

solidity-quickstart

๐Ÿ”‹ Batteries-included template for quickly developing smart contracts
TypeScript
1
star
49

facebook-ng

Facebook SDK wrapper for angularjs
JavaScript
1
star
50

ministream

Very simple implementation of a FrontpageController in PHP
PHP
1
star
51

photostream

Photocloud :)
JavaScript
1
star
52

chatty

omegle-like random chat application for facebook
Python
1
star
53

facebook-friendtracker

facebook app for showing differences in friendlist (new friends / deleted ones)
CSS
1
star
54

coding-puzzles

solutions to some coding puzzles
Python
1
star
55

anthropic-cli

CLI for interacting with Anthropic Claude
Python
1
star
56

generate-nordvpn-wgconf

Generate WireGuard conf files for NordVPN automatically
TypeScript
1
star