Query about emphasis
waysoftheearth at yahoo.com.au
Mon Jun 22 00:02:40 EDT 2009
Okay, thanks for the pointers -- I will see how far I get.
So what is the relationship (if any) between the Python-Markdown and the
Is this list primarily oriented toward discussion of one over the other, or
open to more general discussion?
On Mon, Jun 22, 2009 at 1:14 PM, Waylan Limberg <waylan at gmail.com> wrote:
> On Sun, Jun 21, 2009 at 4:20 AM, Simon Bull<waysoftheearth at yahoo.com.au>
> > One possible solution to my issue would be something like this:
> > /some text/ --> <font style="italic">some text</font>
> > -s-o-m-e-t-e-x-t- --> <font style="struckout">some text</font>
> > _some text_ --> <font style="underline">some text</font>
> > *some text* --> <font style="bold">some text</font>
> > I anticipate that there probably won't be much appetite for changing the
> > markdown tool, so I intend to have a go at implementing the above for my
> > "local" markdown (with approximately zero knowledge of Python).
> Python-Markdown  (not Markdown2) recently released version 2.0 in
> which most of the code has been refactored. The thing about
> Python-Markdown (as opposed to any other implementation AFAIK) is that
> it is very easy to alter the syntax to your liking via the extension
> API. You can find the docs here:
> or here (but it looks like the wiki is having some spam issues):
> I'd suggest replacing/adding your own "InlinePatterns" to alter the
> existing emphasis and strong patterns. If you need any help, feel free
> to ask.
> : http://pypi.python.org/pypi/Markdown
> \X/ /-\ `/ |_ /-\ |\|
> Waylan Limberg
> Markdown-Discuss mailing list
> Markdown-Discuss at six.pairlist.net
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Markdown-Discuss