{ "info": { "author": "Aurelio Jargas", "author_email": "aurelio@aurelio.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Environment :: X11 Applications", "Intended Audience :: Developers", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: GNU General Public License v2 or later (GPLv2+)", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Text Processing :: Markup" ], "description": "[](https://travis-ci.org/jendrikseipp/txt2tags)\n[](https://github.com/psf/black)\n\n# Txt2tags\n\nTxt2tags is a document generator. It reads a text file with\nminimal markup such as `**bold**` and `//italic//` and converts it\nto the following formats:\n\n * AsciiDoc\n * Creole 1.0\n * DocBook\n * DokuWiki\n * Google Wiki\n * HTML\n * LaTeX\n * Lout\n * MagicPoint\n * Markdown\n * MoinMoin\n * PmWiki\n * Plain Text\n * SGML\n * UNIX Manpage\n * Wikipedia/MediaWiki\n\nYou can use it as a command line program or in a Python application.\n\n# Installation\n\nWe recommend using [pipx](https://pipxproject.github.io/pipx/) to install and run txt2tags in an isolated environment without affecting any system packages:\n\n python3 -m pip install --user pipx\n python3 -m pipx ensurepath\n pipx install txt2tags\n txt2tags --help\n\nOf course you can also use pip to install txt2tags globally or in a virtual environment:\n\n pip install -U txt2tags\n\n# Usage\n\nSimple example for command line usage:\n\n1. Write a text file like this (leave 1st line blank):\n\n ```\n = Hello =\n I'm a robot. You're my **master**!\n [smile.jpg]\n ```\n\n2. Run this command:\n\n `txt2tags --target html --no-headers file.t2t`\n\n3. The result is:\n\n ```\n
\n I'm a robot. You're my master!\n
\n