TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Textile Markup Language

67 pointsby john-doeabout 3 years ago

14 comments

mwexlerabout 3 years ago
Textile was the driving markup behind Textpattern (<a href="https:&#x2F;&#x2F;textpattern.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;textpattern.com&#x2F;</a>), one of the better publishing&#x2F;CMS tools out there on PHP. It had a nice object oriented approach that was less painful than Wordpress, and gave great flexibility to design aspects in ways that were easier to work with than Wordpress... but Wordpress won the popular marketshare, and TP was relegated to some diehards. Those diehards still pump out fixes and features, and it&#x27;s worth a look at <a href="https:&#x2F;&#x2F;github.com&#x2F;textpattern&#x2F;textpattern&#x2F;" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;textpattern&#x2F;textpattern&#x2F;</a> if you want to see something a bit different.
评论 #30441730 未加载
hsn915about 3 years ago
Does anyone actually care about the header levels (h1, h2, h3 ..) when writing text?<p>As far as I can tell, what you actually want is to denote a section and give it a header, and within the section you may want to denote sub sections.<p>Something like this:<p>@section {<p><pre><code> @title: This is my section title Text, paragraph, etc. @section { @title: Subsection Title Text, text, text. } </code></pre> }<p>But I&#x27;m not aware of any markup language that lets you do this.
评论 #30440440 未加载
评论 #30439546 未加载
评论 #30439865 未加载
评论 #30440990 未加载
cryptosabout 3 years ago
At least the tables (<a href="https:&#x2F;&#x2F;textile-lang.com&#x2F;doc&#x2F;tables" rel="nofollow">https:&#x2F;&#x2F;textile-lang.com&#x2F;doc&#x2F;tables</a>) are a bit too simplistic. Such tables are very confusing with longer contents and it is not possible to use it with nested markub like code blocks or bullet lists. That is much better with AsciiDoc (<a href="https:&#x2F;&#x2F;asciidoctor.org&#x2F;docs&#x2F;asciidoc-writers-guide&#x2F;#a-new-perspective-on-tables" rel="nofollow">https:&#x2F;&#x2F;asciidoctor.org&#x2F;docs&#x2F;asciidoc-writers-guide&#x2F;#a-new-p...</a>).
评论 #30439594 未加载
ImportOllieabout 3 years ago
I don&#x27;t quite follow what problem this solves.<p>The way I see it, Markdown is great for outputting simple text and readily used for that reason in the Wordpress blog space. Once you start needing more complex styling and formatting then i&#x27;d go for either Latex or HTML, both feature rich markup languages.<p>I use markdown for my everyday notes right now, and love it. The syntax is simple, fast to type either on mobile or desktop and pretty easy to read. Looking over the tag based syntax of Textile i&#x27;m not sure i&#x27;d have as easy a time using it for fast output... and if i&#x27;m wanting more style and moving to tags, I might as well use HTML... so what&#x27;s the use case?
评论 #30440973 未加载
评论 #30440944 未加载
geraldbauerabout 3 years ago
May I introduce Texti (Markup Language) - Text with Instructions (.texti) - Structured Documents in Text with Formatting Conventions - that tries to offer the best of all worlds - that is - markdown &#x2F; textile &#x2F; mediawiki markup&#x2F;down &#x2F; latex and more. See <a href="https:&#x2F;&#x2F;texti.github.io" rel="nofollow">https:&#x2F;&#x2F;texti.github.io</a> PS: An &quot;important&quot; building block missing in markdown &#x2F; textile is built-in templates a la mediawiki markup&#x2F;down. Lets you add &quot;macros&quot; for images or figures and so on (and much more). Extension and evolution is key - as always - and wins out in the long run.
评论 #30439184 未加载
评论 #30439112 未加载
throwaway2016aabout 3 years ago
Bit of a non sequitur but my first job was at an industrial embroidery company (did T-Shirts, hats, etc for big companies... sewed logos on thousands of shirts a day).<p>I was kind of hoping based on the name it would be for that. That industry is woefully lacking good open source and DIY tools for telling the machines what to sew.<p>But back on topic: I&#x27;m not sure what in this language would encourage me to move off of markdown at this point. It seems nice but the friction to use yet another markdown language (even if this one is older by 2 years it seems) is high.
ogennadiabout 3 years ago
TIL that Atlassian&#x27;s Confluence (used at big corps for internal documentation) uses Textile, or something similar, for their text editor.<p><a href="https:&#x2F;&#x2F;confluence.atlassian.com&#x2F;doc&#x2F;confluence-wiki-markup-251003035.html" rel="nofollow">https:&#x2F;&#x2F;confluence.atlassian.com&#x2F;doc&#x2F;confluence-wiki-markup-...</a>
makecheckabout 3 years ago
I adopted this years ago for writing app “help” content, for roughly the same reasons Markdown was invented (e.g. it was annoying to have to mark up almost every word in text that was <i>largely</i> plain content, and the ability to drop in HTML as needed was super convenient). Although .md files “won”, I still use .textile today.
dejjabout 3 years ago
Also see: Aftertext, which separates markup from text<p><a href="https:&#x2F;&#x2F;breckyunits.com&#x2F;aftertext.html" rel="nofollow">https:&#x2F;&#x2F;breckyunits.com&#x2F;aftertext.html</a> <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29643313" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=29643313</a>
评论 #30442569 未加载
trabant00about 3 years ago
Every time I look at markdown flavors I come up with this question: Why not latex? Granted, I rarely need markdown or latex so this might be just my ignorance.<p>I&#x27;ve tried doing my CV and some presentations in markdown cause I just didn&#x27;t want to put the time to learn latex. I went markdown -&gt; html -&gt; pdf. I just couldn&#x27;t get something satisfactory. The pains: pagination, centering, columns, image positioning, colors.<p>And then I took a day to learn enough latex - <a href="https:&#x2F;&#x2F;latex-beamer.com&#x2F;quick-start&#x2F;" rel="nofollow">https:&#x2F;&#x2F;latex-beamer.com&#x2F;quick-start&#x2F;</a> - to create a presentation for work. It was a lot easier than I thought and it came out looking great. Here is the skeleton of it so you can judge how complex it is:<p>\documentclass{beamer}<p>\usepackage{hyperref}<p>\usetheme {teheme-name}<p>\title{My Title}<p>\subtitle{My subtitle}<p>\author{me@example.com}<p>\date{\today}<p>\setlength{\parindent}{4ex}<p>\setlength{\parskip}{1ex}<p>\begin{document}<p>\begin{section}{Title}<p><pre><code> \begin{frame} \titlepage \end{frame} \begin{frame}{Contents} \tableofcontents \end{frame} </code></pre> \end{section}<p>\begin{section}{Some section}<p><pre><code> \begin{frame}{Page title} My text here \begin{itemize} \item one item \item another item \end{itemize} \end{frame} </code></pre> \end{section}<p>\end{document}
评论 #30438892 未加载
评论 #30438758 未加载
评论 #30440452 未加载
评论 #30438690 未加载
评论 #30439128 未加载
评论 #30438973 未加载
评论 #30439178 未加载
BeFlatXIIIabout 3 years ago
The only thing I dislike about Textile is that it treats line breaks in the source code as &lt;br&gt; when it renders, which makes it annoying to edit in vim. Markdown is nicer in that one aspect. Otherwise, Textile is better (so of course it lost the popularity contest).
usrbinbashabout 3 years ago
The name got me thinking...what would we call the language used to program a Jacquard Loom?
encryptluks2about 3 years ago
Finally, been hoping to see new innovations in the markup space. I like some of the syntax.<p>h6. or &#x2F;&#x2F;h6 Is a lot more readable IMO than ######
评论 #30439322 未加载
schipplockabout 3 years ago
Redmine is using this :).
评论 #30439624 未加载
评论 #30440417 未加载