GithubHelp home page GithubHelp logo

sahwar / txt2tags Goto Github PK

View Code? Open in Web Editor NEW

This project forked from txt2tags/txt2tags

0.0 3.0 0.0 10.67 MB

txt2tags is a document generator: ONE source, MULTI targets

Home Page: https://txt2tags.org

License: GNU General Public License v2.0

Python 66.55% Shell 1.15% JavaScript 11.14% CSS 1.29% TeX 0.70% HTML 18.70% Makefile 0.02% Roff 0.20% Perl 6 0.01% C++ 0.02% PHP 0.01% Assembly 0.04% SourcePawn 0.01% Red 0.16%

txt2tags's Introduction

========================================================================


                        +----------------------+                        
                        | Txt2tags README file |                        
                        +----------------------+                        


                        +---------------------+                         
                        | http://txt2tags.org |                         
                        +---------------------+                         


========================================================================

Txt2tags is a document generator. It reads a text file with
minimal markup as **bold** and //italic// and converts it
to the following formats:

   ASCII Art
   AsciiDoc
   Creole 1.0
   DocBook
   DokuWiki
   Google Wiki
   HTML
   LaTeX
   Lout
   MagicPoint
   MoinMoin
   PageMaker
   PmWiki
   Plain Text
   SGML
   UNIX Manpage
   Wikipedia / MediaWiki
   XHTML

You can use it as a Web component (PHP), as a GUI application
(windows and buttons) or as a command line program.

For more information, please visit the program website at
http://txt2tags.org

------------------------------------------------------------------------

Quick sample for the command line usage:

1. Write a text file like this (leave 1st line blank):

  = Hello =
  I'm a robot. You're my **master**!
  [smile.jpg]

2. Run this command:

  txt2tags --target html --no-headers file.t2t

3. The result is:

  <H1>Hello</H1>
  <P>
  I'm a robot. You're my <B>master</B>!
  <IMG ALIGN="middle" SRC="smile.jpg" BORDER="0" ALT="">
  </P>

------------------------------------------------------------------------

Txt2tags package structure:

   ChangeLog             Changes from previous versions
   COPYING               The GNU GPL License contents
   README                This file
   AUTHORS               The developers
   txt2tags              The program itself
                         (the only required file to run)
   doc/                  Documentation
   extras/               Syntax files and utilities
   po/                   Program translation files
   samples/              Sample file converted to all targets
   samples/img           "Powered by" button and other images
   samples/css           Sample CSS files for HTML and XHTML
   samples/module        Examples: txt2tags as a Python module
   test/                 The txt2tags test suite

------------------------------------------------------------------------

Authors: see the AUTHORS file.

txt2tags's People

Contributors

aureliojargas avatar fgallaire avatar farvardin avatar heirofnorton avatar shagi avatar samihostikka avatar smartmic avatar tavisaman avatar jeau avatar chaoseternal avatar goathens avatar kenami avatar mjwhite avatar bmwiedemann avatar lamby avatar hansbkk avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.