Category Archives: Tools

Atom plugin for txt2tags

If you use Atom as your text editor, now you can see your beloved txt2tags files in all their colorful glory:

There is also lots of snippets to make your editing easier. Just press b<tab> for bold, link<tab> to insert a link or even table<tab> to insert a table skeleton.

After installing the plugin, go to its Settings screen to get a list of all the available snippets. As an alternative, press Option-Shift-S (or Alt-Shift-S in Windows) while editing a .t2t file to get the same listing.

To install the plugin (aka package, in Atom terms), use the default Atom installer under Settings > Install and search for txt2tags. You can get more information about the plugin at https://atom.io/packages/language-txt2tags.

Use txt2tags markup in Jekyll

Jekyll is a simple, blog-aware, static site generator that uses Markdown as its default markup for posts and pages.

How about using txt2tags as an alternative markup in Jekyll? Now it’s possible with the Jekyll txt2tags plugin.

Go wild and use %%TOC, preproc, postproc and other txt2tags goodies on your Jekyll website!

Use txt2tags markup in TiddlyWiki

Ever wanted to use our beloved txt2tags markup inside your TiddlyWiki reusable non-linear personal web notebook?

Wait no more! David Young has made a nice txt2tags plugin for TiddlyWiki.

I wrote a plugin for TiddlyWiki that allows you to use most txt2tags syntax in a TiddlyWiki. It is implemented as a new wiki formatter – it exists along side TiddlyWiki’s formatter. Read more…

Thanks David!

Write txt2tags text in jQuery markup editor markitUp!

Have you ever dreamed of editing txt2tags markup in a smart editor, with buttons for bold, italic, lists, links, etc.? Dream no more!

Florent Gallaire has added txt2tags support for markitUp!, the jQuery universal markup editor. Now you can add to any website a real nice text editor that understands txt2tags code. With the correct setup, you can also install txt2tags on it and your text can be converted online. Super!

Florent even set up a demo site, where you can test his creation online: http://etxt2tags.appspot.com/

Use txt2tags markup in PmWiki

Eric Forgeot never stops. Now he wrote a plugin/recipe for PmWiki, so you, dear txt2tags user, now can use our beloved markup in one more tool! From the plugin page:

This recipe adds txt2tags formatting to the pmWiki markup. Most txt2tags tags are translated to their pmWiki equivalent and then passed through the standard PmWiki engine.

http://www.pmwiki.org/wiki/Cookbook/Txt2tags

Use txt2tags markup in Plone

Ales Zabala Alava (Shagi) has made a nice add-on (transform) to Plone, to integrate txt2tags into it. Here’s the README file description:

This package gives Plone users the ability to use txt2tags syntax in their Plone site. Currently Plone 3.3 and 4.1 are supported.

In this transform the first three lines of txt2tags files are ignored letting Plone setting the title, author, etc.

Shagi also adds that:

The product is uploaded to plone collective, so anyone can fix or enhance. There is also a BTS.

Well, you heard him, now click!
http://lagunak.gisa-elkartea.org/projects/plone-txt2tags

txt2tags + LaTeX + poetry = TeXtallion!

Eric Forgeot, our tireless contributor, now comes with a nice solution for those inspired LaTeX lovers who prefer the simple txt2tags markup: TeXtallion.

TeXtallion in action

I’ll let Eric explain his creation:

The project was made because of our consideration for the good and appealing quality of the LaTeX output, and also because of our love for the simplicity of txt2tags.

But there is also much frustration with LaTeX, it’s perfect for writing scientific and complex books, but there is not way to quickly start writing prosa with it, without enduring the intrusive and complex syntax.

The goal of TeXtallion is to use txt2tags as a preprocesseur, and keep its non-distracting formating marks, while being able to export easily into LaTeX and html. Txt2tags can already export to LaTeX, but there is little control on the output.

The TeXtallion is not a piece of software, it’s just some templates, rules and makefile for txt2tags.

So with it you can publish on paper (pdf example), web page (html example), or ebook (epub example), from an unique source (source for all the previous documents).

By default, TeXtallion will have all that is needed for writing a simple and nice looking book or roman:

Bold, italic, underligned, striked letters, colored text, page numbering, top header with title and separating line, bullet lists and numbered lists, image includes, support for footnotes, table of content.

txt2tags in Geany editor

Eric Forgeot has exciting news for Geany users and txt2tags fans:

There is now support for txt2tags into Geany:
http://geany.svn.sourceforge.net/viewvc/geany/trunk/tagmanager/txt2tags.c?view=log

It’s only in the svn at the moment, but it will allow to use a nice tree to browse the headers into your txt2tags source code!

txt2tags file edited in Geany

txt2tags file edited in Geany

Thanks Eric!

New syntax files for JOE, le and ne editors

Stefano D’Archino did it again. First he made the Gedit syntax file, so you can get nice colors in your txt2tags source files. Now he made new syntax files for the following text editors: JOE, “le” and “ne”!

If you’re using one of these editors, install the Stefano files and enjoy your new colorful life :)

You can get those files at the tools page, in txt2tags website.

Diary app RedNotebook uses txt2tags

Jendrik Seipp wrote me to tell about his diary application RedNotebook. As the website says:

RedNotebook is a graphical diary and journal to keep track of notes and thoughts. It includes a calendar navigation, customizable templates for each day, export functionality and word clouds. You can also format, tag and search your entries.

If you click at the image above, I guess you’ll recognize those === and ** from somewhere… :)

RedNotebook uses txt2tags markup to store the diary contents and also uses the txt2tags code to format it. It’s another nice example of a Python program using txt2tags as a module.

What about writing your notes using our beloved markup in that beautiful application? Give it a try!