

via TextExpander From a few keystrokes, you can add words, phrases, paragraphs, or images, with handy customization features to personalize them as you go. Useful for short snippets only.ġ4: usage = '''Usage: tetable tefileġ6: Create a table that describes a TextExpander library.ġ9: -m, -markdown Markdown table (default)Ģ5: # Get the arguments from the command line.Ģ7: optlist, args = getopt.getopt(sys.argv, 'hmtw', )Ĥ9: basename, extension = os.path.splitext(infile)ĥ5: # Make sure it's a TextExpander file.ĥ7: print("%s is not a TextExpander file." % infile)Ħ4: print("Couldn't open %s to read from." % infile)ħ0: 'markdown':'| To insert | Type |\n|:-:|:-:|'}Ĩ3: for i in range(len(te)):Ĩ4: print row % (te, te)īecause of how I work, I made Markdown the default output format, but you could change that by changing Line 34. TextExpander is an app that transforms any abbreviation into longer content, saving you hours of typing time each month. textexpander snippet file and generate a Markdown tableĦ: that describes its contents.
#TEXTEXPANDER SNIPPETS LIBRARY CODE#
Here’s the source code for tetable: python:ĥ: Read a. I used it to make the table in this post. Depending on the option you give it, tetable will produce either a Markdown, tab-separated, or HTML table. textexpander extension) and prints out a table of the library’s snippets and abbreviations. It’s called tetable, and it reads a TextExpander library file (a file with a. TextExpander easily inserts text snippets in any application from a library of content. Speaking of teprefix, I’ve added a new script to my tedist GitHub library. Foot and inch marks-which can also be used for minutes and seconds in angular measures-have their own symbols.) (There’s a half-bright group of people who know that curly quotes (’ and ”) are wrong for feet and inches but seem to think that straight quotes (' and ") are OK. If you use a different abbreviation prefix, you can use my teprefix script to change the prefix to whatever you like. The abbreviations follow my usual pattern of starting with a semicolon. The symbols and their abbreviations are as follows: To insert It’s called “Numeric” and it’s what I use to insert fractions and other numeric and sort-of-numeric symbols. Here’s another simple but useful TextExpander snippet library.

Next post Previous post A few more simple TextExpander snippets
