All Projects → sebix → python-textile

sebix / python-textile

Licence: other
A Python port of Textile, A humane web text generator

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to python-textile

Heml
HEML is an open source markup language for building responsive email.
Stars: ✭ 4,264 (+6890.16%)
Mutual labels:  markup-language
react-native-sdk
[DEPRECATED] React Native bindings for https://github.com/textileio/go-textile
Stars: ✭ 38 (-37.7%)
Mutual labels:  textile
d-mark
Semantic markup language
Stars: ✭ 13 (-78.69%)
Mutual labels:  markup-language
hext
Markup language and tool for generating binary files
Stars: ✭ 23 (-62.3%)
Mutual labels:  markup-language
js-threaddb
This project has been moved to https://github.com/textileio/js-textile
Stars: ✭ 13 (-78.69%)
Mutual labels:  textile
redmine convert textile to markown
Redmine rake task to convert content from textile to markdown
Stars: ✭ 45 (-26.23%)
Mutual labels:  textile
Kaku
Kaku - 書く - A markup language I did for myself
Stars: ✭ 21 (-65.57%)
Mutual labels:  markup-language
Satellite-Legacy
Satellite gives you peace of mind with end-to-end encryption without sacrificing quality. Stream in 4k, chat in 500kbs+, share 10GB files.
Stars: ✭ 46 (-24.59%)
Mutual labels:  textile
DefectDetectionDemo
Textile defect detection using OpenCVSharp
Stars: ✭ 33 (-45.9%)
Mutual labels:  textile
markright
A customizable markdown parser in Elixir: pure pattern matching.
Stars: ✭ 14 (-77.05%)
Mutual labels:  markup-language
doconce
Lightweight markup language - Document Once
Stars: ✭ 43 (-29.51%)
Mutual labels:  markup-language
react-native-boilerplate
[DEPRECATED] A boilerplate app that shows creating, starting, and managing an IPFS peer using Textile's React Native SDK
Stars: ✭ 20 (-67.21%)
Mutual labels:  textile
Blended
The Most Versatile Static HTML Site Generator
Stars: ✭ 22 (-63.93%)
Mutual labels:  textile
Retext
ReText: Simple but powerful editor for Markdown and reStructuredText
Stars: ✭ 1,500 (+2359.02%)
Mutual labels:  markup-language
advanced-react-native-boilerplate
[DEPRECATED] React Native boilerplate including react-navigation, redux, and sagas with example Textile management.
Stars: ✭ 20 (-67.21%)
Mutual labels:  textile
strictdown
A Strictdown parser and compiler written in Javascript. Built for web browsers and Node.js™.
Stars: ✭ 27 (-55.74%)
Mutual labels:  markup-language
abstractmark
Next level generation of markdown, allowing users to add styling, classes, and more into their markdown.
Stars: ✭ 19 (-68.85%)
Mutual labels:  markup-language
markitup
Integriert den MarkItUp-Editor (Markdown und Textile) in REDAXO CMS
Stars: ✭ 46 (-24.59%)
Mutual labels:  textile
mathup
Easy MathML authoring tool with a quick to write syntax
Stars: ✭ 46 (-24.59%)
Mutual labels:  markup-language
CDom
Simple HTML/XML/BBCode DOM component for PHP.
Stars: ✭ 26 (-57.38%)
Mutual labels:  markup-language

python-textile

python-textile is a Python port of Textile, Dean Allen’s humane web text generator.

Installation

pip install textile

Dependencies:

  • html5lib
  • regex (The regex package causes problems with PyPy, and is not installed as a dependency in such environments. If you are upgrading a textile install on PyPy which had regex previously included, you may need to uninstall it.)

Optional dependencies include:

  • PIL/Pillow (for checking image sizes). If needed, install via pip install 'textile[imagesize]'

Usage

import textile
>>> s = """
... _This_ is a *test.*
...
... * One
... * Two
... * Three
...
... Link to "Slashdot":http://slashdot.org/
... """
>>> html = textile.textile(s)
>>> print html
	<p><em>This</em> is a <strong>test.</strong></p>

	<ul>
		<li>One</li>
		<li>Two</li>
		<li>Three</li>
	</ul>

	<p>Link to <a href="http://slashdot.org/">Slashdot</a></p>
>>>

Notes:

  • Active development supports Python 3.5 or later.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].