• Skip to content
  • Skip to primary sidebar
  • Skip to footer

Foliovision

Making the web work for you

Main navigation

  • Weblog
    • FV Player
    • WordPress
    • Video of the Week
    • Case Studies
    • Business
  • About
    • Testimonials
    • Meet the Team
    • We Support
    • Careers
    • Contact
    • Pricing
  • Products
  • Support
    • FV Player Docs
    • Pro Support
  • Login
  • Basket is empty
Affordable VAST/VPAID for Wordpress has arrived. Serve ads with your videos starting today!

Textile Editing on OS X: BBEdit, iTextile, MarkMyWords

8 November 2011 / Alec Kinnear / Leave a Comment

As regular readers know we are heavy users of Basecamp. This month is the first time in a while I’m not happy about our subscription as we’ve had to move up to the Elite Suite at $249 month as we’ve run out of Basecamp projects at 100 (we’ve been rotating them for awhile but five more projects came in and there just isn’t space). For those who are counting, that’s $3000/year for a software subscription.

Basecamp uses Textile as the main editor (well 37signals have added some kind of WYSIWYG editor lately but for those of us writing messages, comments and writeboards for the last seven years, Textile is in our blood).

So what I want to be able to do is write all my posts and drafts in Textile and then convert them to html for publication (saving the original in Textile for further editing).

For a while I used iTextile a wrapper around a Python script. It worked pretty well but was kind of ugly and not customizable. I gave up on iTextile due to ergonomics. When I went to fire it up again yesterday, it turns out iTextile is PPC only and requires Rosetta. On my most recent machines, I’ve managed to get rid of Rosetta completely so I was warned about installing Rosetta. I’d prefer not to have the emulator overhead hanging around waiting to steal memory and cycles, so I said no.

There is an interesting application called MarkMyWords from xelaton.com in Germany. MarkMyWords allows you to write in the mark up language of your choice (important ones include Markdown, Textile, BBcode and Wiki syntax) and get html out on the other end.

Preview is live which is very cool.

MarkMyWords does what it promises very well and even includes full screen and distraction free modes. If you are looking for a new text editor, MarkMyWords has a lot to recommend it.

MarkMyWords edit window
MarkMyWords edit window

MarkMyWords Downsides:

  • MarkMyWords is another application to install and maintain and learn across all your computers
  • MarkMyWords requires a change in workflow (I write mainly in BBEdit and other people have their own text editor prefernces)
  • The icon is fussy and ugly.
MarkMyWords icon
MarkMyWords icon

Textile Editing on BBEdit

At this point, I was thinking what I really need is to get Textile into BBEdit. I don’t know why the BareBones guys have been so lazy about adding a Textile module themselves. Apparently there’s been Markdown syntax for a long time.

I found a reasonably good article about how to add Textile to BBEdit but the explanations aren’t very clear and one of the download links is broken and the other doesn’t give the right filename when unpacked. [Update: dpkendal’s original version was broken – our own Martin Vicenik has fixed it for you and uploaded it.]

So for non-programmers, here’s how to get Textile editing working on BBEdit:

  1. download our Textil.sh filter from Github.
  2. unpack the very long file gist1348479-0d1929ba5ff2b3e2b4293dd63254604b72d62b58.tar
  3. you will get a folder with a file with this name in it: “Textile.sh”

    Note:If the github ever disappears, here’s a local copy. We found that this script has some bugs in it’s current version (the constants are not properly added). Before this gets submited to Github.com download the fixed version here: Textile.sh.zip
    Our version also won’t convert single and double quotes to HTML entities. This should be an option in the original version, hopefully our changes get into Github.com soon.

  4. move this file to /Users/~/Library/Application Support/BBEdit/Unix Support/Unix Filters/
  5. go ahead and write some Textile
  6. open up the Unix Filters palette: Windows -> Palettes -> Unix Filters
  7. you should see Textile.sh at the bottom
  8. when you are ready to convert your Textile to html, just doubleclick the Textile.sh item. You can create a hot key as well (very useful)
  9. as it’s BBEdit you can see your html and get a preview of it and then just use undo (command-Z) to get back to the Textile version for further editing
  10. when you save your file, make sure you save the textile version
  11. for bonus points before posting into WordPress or even Basecamp run the html optimize filter on the result to get rid of all line breaks: Markup -> Utilities -> Optimize
BBEdit unix filters palette
BBEdit unix filters palette

Bingo, you now have full Textile writing inside of BBEdit at zero cost. Apparently this filter will work for other text editors which accept php filters (TextMate among others) but I can’t provide step by step instructions as BBEdit 8.7.2 is my weapon of choice.

I may still buy MarkMyWords as I have something of a fetish for text and html editors (own at least ten of them) and earn my living writing and coding. $25 for another work tool is no big deal. But I wouldn’t encourage it’s adoption across our company as that would be $200 for what most people wouldn’t use nearly enough. Our programmers will be much happier with a working php script. On the other hand, Textile.sh doesn’t require me to change my workflow at all.

This article full of ordered and unordered lists was written in BBEdit and Textile.sh with no issues.


Marked does not get a review here as Marked is AppStore only. I will not sign into or buy anything from the AppStore or even let it run on my computers (the AppStore is effectively a back door).

Alec Kinnear

Alec Kinnear

Alec has been helping businesses succeed online since 2000. Alec is an SEM expert with a background in advertising, as a former Head of Television for Grey Moscow and Senior Television Producer for Bates, Saatchi and Saatchi Russia.

Categories: IT Tags: 37signals, apple, basecamp, BBEdit, os x, web development, weblog writing, writing

Related Posts

  1. Textile: How to write in the world’s greatest markup language

    Textile: How to write in the world’s greatest markup language

  2. In search of a good CSS Editor with FTP editing on Windows: BBedit Equivalent?

    In search of a good CSS Editor with FTP editing on Windows: BBedit Equivalent?

  3. Front End Editing

    Front End Editing

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

You can click here to Subscribe without commenting

Primary Sidebar

My Account

  • My Licenses
  • My Profile
  • Invoices
  • Affiliate Area
  • Log Out

Categories

  • Business
  • Camera Reviews
  • Case Studies
  • Design
  • Flowplayer
  • Internet Marketing
  • IT
  • Life
  • SEO
  • Slovak
  • Video of the Week
  • WordPress
Foliovision logo
All materials © 2023 Foliovision s.r.o. | Panská 12 - 81101 Bratislava - Slovakia | info@foliovision.com
  • This Site Uses Cookies
  • Privacy Policy
  • Terms of Service
  • Site Map
  • Contact
  • Tel. ‭+421 2/5292 0086‬

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in settings.

Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Necessary Cookies

Strictly Necessary Cookie allow you to log in and download your software or post to forums.

We use the WordPress login cookie and the session cookie.

If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

Support Cookies

Foliovision.com uses self-hosted Rocket.chat and self-hosted Freescout support desk to provide support for FV Player users. These cookies allow our visitors to chat with us and/or submit support tickets.

We are delighted to recommend self-hosted Rocket.chat and especially Freescout to other privacy-conscious independent publishers who would prefer to self-host support.

Please enable Strictly Necessary Cookies first so that we can save your preferences!

3rd Party Cookies

This website uses Google Analytics and Statcounter to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.

We reluctantly use Google Analytics as it helps us to test FV Player against popular Google Analytics features. Feel free to turn off these cookies if they make you feel uncomfortable.

Statcounter is an independent Irish stats service which we have been using since the beginning of recorded time, sixteen years ago.

Please enable Strictly Necessary Cookies first so that we can save your preferences!