Git Product home page Git Product logo

textile's Introduction

TEXTILE

A Humane Web Text Generator

A lightweight markup language that takes (almost) plaintext and converts it into well formed HTML.

Installation

The only file that is necessary for the correct operation of Textile is classTextile.php from the project root directory. However, to use additional features you may need to install other files from the project tree.

For live installations only files and subdirectories from the master branch should be used. Code from other branches should not be used on live sites.

Usage

You’ll need to include the source file and instantiate a parser…

include "classTextile.php"; # adjust paths if needed.
$textile = new Textile();

Then, for input that you control, pass it to TextileThis(). Like so…

$output = $textile->TextileThis( $trusted_input );

If you are using Textile to format user-supplied input, blog comments for instance, use a TextileRestricted() call…

$output = $textile->TextileRestricted( $untrusted_input );

Translations

The Textile project welcomes translations of the documentation found under the docs\ folder. For information on how to contribute translations please get in contact.

Getting In Contact

The textile project welcomes constructive input and bug reports from users. You can contact us in several ways.

  • Open an issue on the repository for a feature request or bug.
  • If you are on IRC, feel free to drop into #textile on freenode.net (webchat.)
  • Use the generic contact form.

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.