We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 594
    • 15 Posts
    I think that the implementation of Textile (http://textism.com/tools/textile/) and/or Markdown (http://daringfireball.net/projects/markdown/) would be extremely useful in MODx. While TinyMCE and FCKeditor are good in their own respects, I think many users would like the opportunity to use one (or both) of these wiki-style syntaxes. It would be a great addition to an already awesome CMS!

    Keep up the good work and please consider this suggestion!
      Top Dead Center Design, LLC
      Design, Develop, Manage
      http://tdcdesign.com/
      • 32963
      • 1,732 Posts

      Hi afkuz ,

      Many thanks for the suggestions.

      I’m delighted to say that as of MODx TP2.1 both Textile and Markdown can be easily implemented as plugins. It’s as easy as ABC. TP3 will event make it much easier.

      example:

      A) Create a plugin that listens to the OnDocumentPrerender event that would convert textile syntax found within <textitle> tags.

      B) Add some content to a document using the textarea:

      <textitle>
      h2{color:green}. This is a title

      h3. This is a subhead
      </textitle>

      C) Load up your web page and you’re done


      The same can be done for the Markdown syntax:

      <markdown>
      * Candy.
      * Gum.
      * Booze.
      </markdown>

        xWisdom
        www.xwisdomhtml.com
        The fear of the Lord is the beginning of wisdom:
        MODx Co-Founder - Create and do more with less.
        • 4673
        • 577 Posts
        Boy, this is really wonderful stuff.

        I really like what daringfireball does too.


        Combine all of this into ModX and phew this is going rock the net!
          Tangent-Warrior smiley
          • 594
          • 15 Posts
          xwisdom,

          I really would like to take the time to create a plugin that would implement Textile, but I have no idea where to begin. I’m really not sure of how Textile even works behind the scenes... all I know is that it does its job VERY well and formats nice clean XHTML. If you have any suggestions or ideas please share them. Would it be possible to have this be a "factory-installed" feature in the next release? Also, about when are we due for the next release? I can’t say how much I love this CMS! Keep up the great work!
            Top Dead Center Design, LLC
            Design, Develop, Manage
            http://tdcdesign.com/
            • 25663 MODX Staff
            • 12,272 Posts
            There’s a 50/50 chance you’ll see another release late this week. It should include the "real" module implementation and some sample plugins you can use to model integrating Textile and/or Markdown. We’ll definitely keep everyone up to date. laugh
              Ryan Thrash, MODX Co-Founder
              Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
              • 594
              • 15 Posts
              Quote from: rthrash at Jun 20, 2005, 12:36 PM

              There’s a 50/50 chance you’ll see another release late this week. It should include the "real" module implementation and some sample plugins you can use to model integrating Textile and/or Markdown. We’ll definitely keep everyone up to date. laugh


              Freakin’ awesome! You guys do great work! The prospect of including Textile/Markdown into this software will make it one of the best tools a web designer/developer could possibly want. As always, thanks for the great work!
                Top Dead Center Design, LLC
                Design, Develop, Manage
                http://tdcdesign.com/
                • 32963
                • 1,732 Posts
                Quote from: afkuz at Jun 20, 2005, 06:46 PM

                Freakin’ awesome!? You guys do great work!? The prospect of including Textile/Markdown into this software will make it one of the best tools a web designer/developer could possibly want.? As always, thanks for the great work!

                Which would you guys prefer to see, A Textile/Markdown Text Editor or a simple Textile/Markdown Parser plugin?

                Using the parsers you can include include both <textile> and <markdown> codes anywhere inside your document or template.

                example:

                <textitle>
                h2{color:green}. My Title
                </textitle>
                <markdown>
                * Candy.
                * Gum.
                * Booze.
                </markdown>



                  xWisdom
                  www.xwisdomhtml.com
                  The fear of the Lord is the beginning of wisdom:
                  MODx Co-Founder - Create and do more with less.
                  • 594
                  • 15 Posts
                  Quote from: xwisdom at Jun 20, 2005, 09:09 PM

                  Which would you guys prefer to see, A Textile/Markdown Text Editor or a simple Textile/Markdown Parser plugin?

                  I think I would like to see a Textile/Markdown text editor... it’s easy enough to create the template in regular (X)HTML, so that might just be more work for the developer. Really, I’m cool either way... whichever you guys feel would be more beneficial than by all means I’ll be happy. We just need to make sure that there is a quick tag reference on-hand (or at least a link to the documentation for each syntax), since it can be a little difficult to remember some of the syntax. smiley
                    Top Dead Center Design, LLC
                    Design, Develop, Manage
                    http://tdcdesign.com/
                    • 32963
                    • 1,732 Posts

                    What’s the license used for Textile and Markdown? And where can I download the latest php codes?

                    I’ve found this site but it does not show the license and I don’t know if it has the lastest versions:

                    http://www.movalog.com/archives/dynamic/breaking-plugins?p=2
                      xWisdom
                      www.xwisdomhtml.com
                      The fear of the Lord is the beginning of wisdom:
                      MODx Co-Founder - Create and do more with less.
                      • 28042 ☆ A M B ☆
                      • 24,524 Posts
                        Studying MODX in the desert - http://sottwell.com
                        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                        Join the Slack Community - http://modx.org