# ξ xidoc

xidoc is a consistent and powerful markup language that compiles to HTML, LaTeX and Gemtext.

## A Quick Look

For a more interactive experience, you can try the online playground.

### xidoc code

[section HTML;
[p
HTML is such an [it ugly] language!
Each [code html; <tag>] has to be repeated twice.
]
]
[section [LaTeX];
[p
[LaTeX] is great for writing math formulas like [\$ e^{\tau i} = 1],
but it's painful to write with all those [code latex; \begin], [code latex; \end]
and different syntaxes for different things.
]
]

### Output

#### HTML

HTML is such an ugly language! Each <tag> has to be repeated twice.

#### LaTeX

LaTeX is great for writing math formulas like $e^{\tau i} = 1$, but it's painful to write with all those \begin, \end and different syntaxes for different things.

## What can I do with xidoc?

• Make a website
• Make the front-end of a web app
• Write an article
• Write a book
• Flex your skills at learning obscure languages
• Write a plain text file and wonder why it's giving errors if you include square brackets

## What can I not do with xidoc?

• Make the back-end of a web app
• Solve the Halting Problem

## Logo

The logo of xidoc is the letter ξ (xi) rendered in the color #d0c.

## Source Code

xidoc is available on SourceHut and GitHub under the GNU General Public Licence 3. (SourceHut is strongly preferred because it is important for free software to use free software infrastructure.)