Writing complete pages

Craig Morgan Craig.Morgan at Sun.COM
Thu Oct 7 08:25:56 EDT 2004


Frank,

JG's intent as I understand it, was to position Markdown as a writing 
tool which produces HTML/XHTML fragments (not complete XHTML documents), 
whilst it passes thru without modification HTML/XHTML, that is 
specifically to aid use of HTML for features that Markdown does not 
address (ie. styling, tables, etc).

It's target is to produce valid markup which is then wrapped with 
suitable headers/footers if your aim is to produce a standalone doc. 
Most users after all are targetting some kind of content management 
system, such as a blog tool these days.

Just script the addition of a simple header and/or footer to the result 
of the Markdown transformation to get a simple page ...

HTH

Craig

Frank Blome wrote:
> Hi there,
> 
> this is my first posting on this list -- so please don't hurt me, if 
> this topic was discussed already ;-)
> 
> I just downloaded Markdown last night and played around with it a little 
> bit. I am absolutely thrilled -- a great tool!
> 
> So I decided to write the documentation (complete html pages) for a new 
> piece of software with it. Unfortunately I ran into two smaller problems:
> 
> Markdown puts before the "<html>" a "<p>" and after the "</html>" a 
> "</p>". Also it puts an "</p>" after "<body>".
> 
> That leads me to the seconds problem: The meta-tag "<meta 
> http-equiv="Content-type" content="text/html; charset=utf-8" />" will 
> ignored because the "<p>" tag at the top of the page. Therefore all of 
> my German Umlauts are displayed wrong.
> 
> Has anybody a solution for that?
> 
> Thanks in advance!
> Frank
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Markdown-discuss mailing list
> Markdown-discuss at six.pairlist.net
> http://six.pairlist.net/mailman/listinfo/markdown-discuss

-- 
Craig

Craig Morgan                              Sun Microsystems Ltd
Senior Training Instructor                Sun Services
SES UK                                    Citygate
                                           Cross Street
Email:  craig.morgan at sun.com              Sale, Cheshire
Tel:    +44 (0)161 905 8155               UK
Fax:    +44 (0)161 962 4150               M33 7JF

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  NOTICE:  This email message is for the sole use of the intended
  recipient(s) and may contain confidential and privileged information.
  Any unauthorized review, use, disclosure or distribution is prohibited.
  If you are not the intended recipient, please contact the sender by
  reply email and destroy all copies of the original message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


More information about the Markdown-discuss mailing list