DISQUS

DISQUS Hello! Huddled Masses is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Huddled Masses

Joel Bennett's development blog...
Jump to original thread »
Author

TextileWrapper 2.0 and GeSHiWrapper 1.4

Started by Jaykul · 9 months ago

EDIT I’m inserting an extra paragraph
Just to test if the textile stuff is misbehaving
Because I had an error report.

I’m releasing a new version of the WordPress Textile 2 plugin, as well as my own plugin for doing syntax highlighting with GeSHi. But I feel ... Continue reading »

20 comments

  • Hi,
    I installed your plugin cause I know texttile from my textpattern times very good. I am using WP 2.0.4 and if I activate the plugin the page goes blank. Other plugins than do misbehave (postie e.g.).

    Any idea, do you need more information ?

    thx.
  • Hi, just a quick note: you can use $geshi->set_header_style(GESHI_HEADER_NONE); to remove the div header/footer that are added, then you can add your own :)
  • Hi, how can I get the plugin to work correctly with members that receive a wordpress email? They get the original source instead of the textilized one...
  • Hi there.
    Textile has suddenly weirded out on me. I've been happily using it for quite some time and then suddenly the other day all the posts where I'd used it to display images (!imageurl!) just ceased to display. They completely borked my site - not only did the pictures not show, but any entry containing this markup completely failed to display and crashed wordpress. Everything else seems fine. I've upgraded Wordpress and Textile to the latest versions, but the problem persists.

    I can't find anybody else who's had this problem. Does it sound familiar at all? My host is adamant that nothing changed on their end, and I certainly didn't change anything. If this mysterious gremlin is just one of those things, can you let me know of a way to convert Textile markup back to HTML? I'm sorry if that's heresy but I'm faced with individually editing every post and adding tags, which I really don't want to do.

    I've tried the solution proposed here: http://wordpress.org/support/topic/48699 - but it just didn't work for me. Maybe because some of my early posts use HTML? Anyway, any help appreciated.

    Thanks,

    Anthony
  • There have been many bugfixes and improvements since the version of Textile 2.0 Beta that was included in Textpattern 4.0.3. I'm now maintaining Textile 2.0 here: http://textile.thresholdstate.com/. You might like to update your plugin to use the latest version.
  • The download links for Textile Wrapper are not working. I figured out that instead of http://huddledmasses.org/wp-content/plugins/Tex... you have to use http://huddledmasses.org/wordpress/wp-content/p....

    Thanks for a great plugin!
  • Hello,

    I am trying to get rid of bugged wysiwig editors and textile seems really interesting.

    I have installed your version but unfortunately I have troubles using it :

    The h1. doesn't work the text is missing (but h2. to h6. work well)
    more annoying, p>. p. doesn't work as signs are translated to html &lt and &gt codes, not interpreted by textile...
  • Are you typing the text into the rich-text editor? You need to disable it completely (or use a different tool for posting, like the code-view of ScribeFire). If you're not accidentally using the rich text editor, it sounds like there's another plugin interfering with the post text.
  • Bingo !

    You are right, I forgotten to disable the rich-text editor (I am a wordpress beginner) and now it works well.

    Thank you Joel, I am now discovering textile :)
  • Since I installed the TextileWrapper plugin, I'm having trouble w/ line breaks being properly converted. Previously, a single line break would automatically generate a tag whereas multiple line breaks would be converted to multiple tags as necessary. However, now a single line break isn't automatically generating the tag. Normally this wouldn't be a huge concern, but when posting lyrics or poetry content it throws off the spacing. Is this something that should work with the plugin or is this a setting I should look for in Wordpress somewhere? (Google is coming up empty for me.)
  • I should probably mention I'm using Wordpress 2.2 and Firefox to do the posting.
  • Very nice plugin. Just a quick question/observation, though. After activating, the paragraph tag around the "more link" text has disappeared. Any idea how to fix that? It throws off the bottom margin and link style if there's no paragraph wrapped around the link.
  • *Erundur*: The simple answer is ... What?

    this is a poem
    of the neatest kind
    A rhyming couplet
    or I lost my mind

    you should recognize it
    from the way the rhymes
    are broken nicely
    into separate lines

    It seems to work the way I would expect, at least, it does here... Although I broke the lines an extra time, so the poem doesn't make much sense ;) I'm not sure what we're doing differently? One line break is a @
    @ tag, and two is a paragraph tag. However, there's no obvious way to add extra whitespace in textile: that is, to, say, double the white-space between two specific paragraphs.

    p=. The answer, however
    is really quite simple,
    hopefully this will
    make your cheeks dimple.

    p.

    p=. If you put the text "p=. "
    on a line of it's own
    You should get a pair of
    empty p-tags all alone.

    *Matt*: I think you probably just need to put the --more-- comment on a line by itself (with a blank line before it and after it) to explicitly tell Textile that's what you want. Personally, I like my "more" links at the end of the paragraph, not on their own line.
  • I will clarify what's happening.

    With the plugin I was using previously, it would automatically convert line breaks I made in the post to break () tags. The plugin (or Wordpress itself) is currently having an issue with this. What is happening is the first "paragraph" (anything I put in prior to having two consecutive line breaks) is being marked up, but it is not automatically creating line breaks in the HTML. As such in posts contain code or poetry, the first "paragraph" looks ridiculous because the line isn't breaking where it should be.

    I hope this makes more sense now. It's possible it's just the way the newer version of Wordpress is handling the spacing and nothing to do with the plugin, but if you have any thoughts I would appreciate it.
  • Well, as you can see,
    That's not what's happening,
    On this, my site
    When you leave line breaks.

    It could be a problem related to continuing to use the rich text editor with Textile ... you should input in the plain text editor. Are you having this problem with new posts in the plain text editor, or existing ones which had been created with the rich text editor?
  • The problem is occurring on all posts. It could possibly be a stylesheet/template issue and I'll have to check into that aspect further. I've been using the plain text editor exclusively because the rich text editor annoys me. Anyway, thanks for your help, and I'll be trying out some other styles to see what I can come up with.
  • Textile 1.0 came with my WordPress installation. I'm feeling really dumb, but I don't understand what that plugin does. Is there an easy to understand explanation somewhere what I can do with that plugin? What will happen if I deactivate it?
  • Basically, it's an alternative way of writing your posts:
    # You can choose the rich text editor
    # You can write your posts in HTML markup by hand
    # You can write your posts in Textile markup which is translated to HTML by the Textile plugin when a reader requests it.

    If you don't want to write in Textile, you can absolutely remove the plugin.
  • Not that you haven't heard this before, but thank you, thank you, a thousand times thank you for TextileWrapper. Migrating to WP from TXP would have been unspeakable without it.
  • Thanks for the plugins Jaykul! I'm using them on my website which I just migrated from textpattern to wordpress and they are working great... There is just one little problem I am having... It seems like the textile plugin adds extra

    tags whereever there is a linebreak in my writing. This happens where I am using "real" HTML as well as on textile posts...

    Is there any way to disable the plugin functionality on certain posts? Or so that it only works where it finds some actual textile formatted content? Moving forward I'll probably be using HTML and wordpresses visual editor for new posts. In some circumstances I need to use HTML anyway (e.g. where I need to pass parameters to a shadowbox popup or embed some code for highlighting).

    Thanks,

    Kelvin :)

Add New Comment

Returning? Login