MarkDown Extra 1.01b4 – Plain Text Markup Syntax Plugin

I just updated my Markdown plugin for WordPress to use the ‘MarkDown Extra’ version created by Michel Fortin for WordPress. It adds to the regular Markdown syntax a number of new features :

  • Tables (New)
  • Definition Lists (New)
  • Enhanced Inline HTML
  • Markdown Inside HTML Blocks
  • Enhanced Emphasis
  • Extra ‘Escaped’ Characters

The best part is the added simple table feature. It allows the creation of tables simply by using simple characters:

Item Value
Computer $1600.00
Phone $12.00
Pipe $1 .00

Table design is handled by CSS – so will probably have to go work on that so the default table format looks right for this blog.

The above table was created simply by typing the following:

| Item      | Value    |  
| --------- | --------:|  
| Computer  | $1600.00 |  
| Phone     |   $12.00 |  
| Pipe      |    $1.00 |  

Hopefully the update did not break any of my old code. I took a quick glance but have not found any problems yet.

Navigation:

1 Comment »

  1. 1

    In order for the unformatted table to look correct it needs a fixed-pitch font. I found this has to be corrected in the wp-admin.css file (which means a ‘hack’). The font-family had to be changed from Georgia (a porportional font) to Courier New. Here is the new css block for the textarea that replaced the old one.

    textarea, input, select {
        background: #f4f4f4;
        border: 1px solid #b2b2b2;
        color: #000;
        font-family: Courier New, Courier, monospace; 
        margin: 1px;
        padding: 3px;
    }
    

    Comment by Gary Paulson — August 29, 2005 @ 2:36 pm


RSS feed for comments on this post. TrackBack URI

Leave a comment



Powered by WordPress
Copyright by Gary Paulson

Bad Behavior has blocked 612 access attempts in the last 7 days.