MarkDown is a simplified markup system, based on the way people
writing in simple text.  For example:

# First Example
 - this is a bullet item.
 - this bullet item has **bold** and *italics* in it.


That will generate HTML that looks like this:
<h1>First Example</h1>
<ul>
<li>this is a bullet item.</li>
<li>this bullet item has <b>bold</b> and <i>italics</i> in it.</li>
</ul>


To use it on your page, you just need four elements:
A textarea, where the user is going to type.  You should have this
already),  Must be id="wmd-input".
An (empty) DIV, id = "wmd-button-bar".  This is where wmd will draw
the button bar.  Using a toolbar button instead the markdown code.
(i.e. highlighting text and clicking the [B] button wraps the text in
**s)
An (empty, optional) DIV, id is "wmd-preview".  Wmd will draw the
formatted text here.
An (empty, optional) DIV, id is "wmd-output".  Wmd will draw the HTML
code here. (readonly!)

Putting those in separate tabs using jQuery UI should be trivial.




On Thu, Aug 20, 2009 at 1:24 PM, tdnnash25<[email protected]> wrote:
>
>
> James, hmmm ... can you show me what you mean somehow?
> >
>



-- 
Truth,
    James

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to