Convert DJOT to T2T

Turn DJOT files into txt2tags. A txt2tags document with headings, lists, tables and links; footnotes are written in parentheses where they are marked, block quotes become plain paragraphs, a table's header row becomes an ordinary row, and a line that starts with a percent sign is a comment that txt2tags hides.

Converted in an isolated sandbox on our serversDeleted after 24 hours

Drop DJOT files on the dialor turn it to pick what to do

A txt2tags file from your Djot text.Headings, lists, tables and links carry over. A few things change on the way.

  1. What you get

    One T2T file, a txt2tags document. Headings, lists, tables and links in your Djot text are written in txt2tags markup, so the txt2tags tool can turn the file into other formats.

    Images stay as links. The picture is not embedded, and the link points to it.

  2. What changes

    Footnotes are written in parentheses at the place where they are marked, not collected at the end.

    Block quotes become plain paragraphs, so the quote styling is gone. A table's header row becomes an ordinary row, so the table no longer marks which row is the header.

    A line that starts with a percent sign is a comment in txt2tags, and txt2tags hides it. If your text has a line that begins with a percent sign, it will not show in the output.

  3. What is dropped

    Raw blocks for other formats are dropped. Their content does not appear in the T2T file.

    To go the other way, use T2T to DJOT.

DJOT and T2T.What each format is.

The formats

From · DJOT

Djot

Djot, a lightweight markup language by the author of pandoc.

Extensions
.dj .djot
MIME type
text/x-djot
Kind
Text and data
To · T2T

txt2tags

txt2tags documents, plain text with light markup that the txt2tags tool turns into many formats.

Extensions
.t2t
MIME type
text/x-txt2tags
Kind
Text and data

In your code.The same DJOT to T2T conversion through the API, for your app or your agent.

terminal
$ cv convert report.dj report.t2t
$ cv convert report.dj report.t2t

Questions.What people ask about DJOT to T2T.

01OF 04

Yes. They are written as txt2tags headings, lists and tables. The header row of a table becomes an ordinary row.

They are written in parentheses where they are marked in the text.

No. Images stay as links.

A line that starts with a percent sign is a comment in txt2tags, so txt2tags hides it. Raw blocks for other formats are also dropped.

More conversions.Other ways in and out of DJOT and T2T.