Tuesday 15 May 2012

not getting expected result from python markdown -


Perhaps, this problem is with my understanding that what should be. Here's what I did:

  & gt; & Gt; & Gt; Import Markdown 2 & gt; & Gt; & Gt; Rawtext = "Getting a summary of Marktown's formatting syntax --------------------------------------- - -------- This page is a brief "& gt; & Gt; & Gt; Html = markdown2.markdown (rawtext)> gt; & Gt; & Gt; Html U "& lt; p & gt; Getting a summary of the formatting syntax of Markdown -------------------------------- ---- ------------ This page is a brief & lt; / p & gt; \ n "  

I use Markdown instead of Markdown 2 Tried to do but got the same result; I was hoping that many "-" should be presented in the form of "H1" to get a summary of the "-" Marcton's formatting syntax, what am I missing?

This is a & lt; H1 & gt; If the dash is on its own line below text:

  & gt; & Gt; & Gt; Import Markdown 2 & gt; & Gt; & Gt; Rawtext = "Getting a summary of Marktown's formatting syntax \ n ------------------------------------- - ---------- \ nThis page is a brief "& gt; & Gt; & Gt; Markdown2.markdown (rawtext) U "K>  \ n \ n & lt; p & gt; This page is for a brief & Lt  

No comments:

Post a Comment