Skip to content

woodenzen/insert-UUID

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Insert any text into a zettel at any position.

This optionally, first checks for the presents of a "token", then depending on found or not found it then inserts the text starting on a specified line.

I recommend using a backup of files to insure safety.

In line 32 - prev_contents.insert(1, f"›[[{res[0]}]]\n")

prev_contents.insert() takes 2 arguments.
The first is the line position for the insertion and the second is the f-string of the text to be inserted.

Added Shell Script that performs the same funtion as the python script.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published