Displaying 20 results from an estimated 300 matches similar to: "replacing " with ""
2007 Dec 05
1
[patch] Headers, unresolved footnotes, and fractions
Hi folks, thanks for the useful code!
I've added some functionality to PHP Markdown Extra and PHP
SmartyPants. Diffs attached.
For PHP Markdown Extra:
*A new config option, MARKDOWN_HEADER_BASE, which sets the largest
header level that Markdown can generate and defaults to 1; useful if
you use <h1> for site-wide elements and want Markdown-generated
headers to start at
2009 Oct 22
3
Order of Markdown and SmartyPants filters (was: Re: Markdown Support in Drupal6.14?)
2009/10/20 Lou Quillio <public at quillio.com>
> On Mon, Oct 19, 2009 at 3:20 PM, AJG Baeumel
> <ajgb at st-maurices.n-lanark.sch.uk> wrote:
> > Why is Marksmarty no longersupported in Drupal 6.14?
>
> It's been a while since I've worked with Drupal, but I remember that
> MarkSmarty was really just a hybrid convenience filter. It's better to
> apply
2006 Nov 22
4
Know ye of such a beast ?
// hoping this is sufficiently on-topic //
php-driven, markdown-aware, open source wiki/cms that has some degree
of version control, a flexible system for privs/access control, is
installable (or buildable) on OS X and has an easy installer for
windows ?
2007 Aug 30
2
Markdown, SmartyPants and Wordpress?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I'm redesigning my site and considering moving from Movable Type to
WP, but many of my entries are in Markdown. I really, really like
Markdown and SmartyPants. I've not used Textile much, but Markdown
feels more natural to me; also, I love SmartyPants because I'm a
stickler for curly quotes.
I understand there's a Markdown
2007 Jan 16
3
Markdown for Wordpress?
Does anyone know which version of Markdown is best for Wordpress? I
see online that there are a few and was wondering which one people
prefer. Also, is there any chance John Gruber will write an official
Markdown plugin for Wordpress, given how popular it's becoming?
--------------------------------------------------------
robdumas at gmail.com
http://obnoxio.us/
2010 Sep 15
4
Video syntax
I'm planning to update Mango <http://mango.io/wtf?> to facilitate adding
video to Markdown documents. At the moment, of course, it's possible to
include video by including the appropriate HTML. There are three reasons,
though, that having syntax (official or unofficial) for video is a good
idea:
- *Simplicity.* Writing something like [youtube:gPbh6Ru7VVM] is easy.
Including
2013 Mar 16
0
Admonitions! with Python-Markdown 2.3 release.
Last night I released version 2.3 of Python Markdown (see the release
notes [1] for all the details). In addition to various other
improvements, a new **experimental** extension was included that added
a syntax for generating rST-style admonitions [2]. For a summary of
the syntax, see the documentation [3]. A broader sample of the output
can be seen on this page [4]. The source text can be found
2012 Jan 13
1
Markdown-Discuss Digest, Vol 106, Issue 4
> The only problem as I see it is that three dashes produce a long dash
> and a hyphen rather than an em-dash, although two dashes seem to work
> well. But investigating that will have to wait for the morrow!
I'm afraid you are confusing two different replies. SmartyPants looks for two hyphens (or tee dashes) and turns them into an em dash. The three dashes is for another
2012 Aug 07
1
Footnote output not valid.
I just received a report [1] that the footnote output we use in
Python-Markdown (an exact copy of PHP Markdown Extra [3]) is not valid
HTML [3]. If you notice he's using HTML5. At least the footnote syntax
does valid on XHTML1 or HTML4. Anyway, any suggestions on how the
various footnote implementations want to move forward with this?
[1]: https://github.com/waylan/Python-Markdown/issues/129
2008 Apr 01
3
HTML entities in URLs and urlencoding
We recently received the following bug report for the python-markdown
implementation:
> The "&" are escaped in URLs.
>
> An example:
> [Link](http://www.site.com/?param1=value1¶m2=value1)
>
> Should output:
> <a href="http://www.site.com/?param1=value1¶m2=value1">Link</a>
>
> Currently outputs:
> <a
2013 Jan 23
3
footnote:id, colons and jquery
I just received a [bug report] for Python-Markdown complaining that
colons are used in the ids of footnotes. For reference, we [output]
the same format at PHP Markdown Extra. The general complaint is that
the colon in the id attribute (`id="fnref:1"`) causes jquery to choke
when referencing that id from javascript because jquery uses colons to
indicate pseudo elements (as does CSS). As
2006 May 03
1
SmartyPants 1.6 multiply remarks
Michel Fortin <michel.fortin@michelf.com> wrote on 2/13/06 at 6:13 PM:
> > 4 x 2 -> 4 × 2 in EducateExtras, too.
>
> Which is a great idea. But I'm not sure about how it works currently.
> All goes well in these two cases:
>
> 800x600
> 5 x 5
>
> But maybe it's not a so good idea that it also replace the x with a
>
2007 Oct 08
1
An Extra for Python (was: Re: seemingly no good way to end bulleted list and start code block)
On 10/6/07, Lou Quillio <public at quillio.com> wrote:
[snip]
> Wish there were an 'Extra' for Python.
>
There is. Sort of. Python-Markdown has an extension interface [1].
There's a number already available and its fairly easy to write your
own. I've slowly been adding many of php extra's features [2].
Unfortunately, some things are still hard, but were working to
2008 Jun 09
16
display "..." for text LONER than a certain length...
I am working on an app that has user generated content. What I''d like
to do, is display X characters of, say, a title and put "..." for the
rest. This sounds like something you see in soc networking type app
and wondering if there is some code out there to do this. thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed
2009 Oct 19
1
Markdown Support in Drupal6.14?
Why is Marksmarty no longersupported in Drupal 6.14?
AJG B?umel mailto:ajgB at st-maurices.n-lanark.sch.uk
---------------------------------------------------------------------------
This e-mail and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this e-mail in error, please notify
2006 Jul 07
1
Markdown-PHP and the single opening quote character
Gentlefolk,
______________________________________________________
the setup
CMS: WordPress 1.5.2
Markdown version: 1.0.1c
Markdown implementation: PHP version by Michel Fortin
other active WP plugins: none
URL: <http://betweenborders.com/reflections/field-notes-from-inside-a-car/>
______________________________________________________
the pre-processed
2008 May 12
2
Fenced-Code-Blocks in Python-Markdown
I'd like to announce a beta release of the Fenced-Code-Blocks
Extension for Python-Markdown.
<http://www.freewisdom.org/projects/python-markdown/Available_Extensions>
The latest code for Python-Markdown and packaged extensions are now
available on Gitorious.
<http://gitorious.org/projects/python-markdown>
The same syntax is used as the just released PHP Markdown Extra 1.2. I
2008 Mar 15
1
Javascript in URLs (was: Markdown doesn't always generate XHTML)
On Fri, Mar 14, 2008 at 11:22 PM, Michel Fortin
<michel.fortin at michelf.com> wrote:
>
> "Safe mode" you say?
Yeah, well, I didn't paint that bike shed.
>
> PHP Markdown also has a no-markup mode which would filter script tags
> and any other HTML tags. But this doesn't prevent anyone from
> inserting their own script on the page. Do you know you can
2009 Apr 07
1
Python-Markdown 2.0 Final Released!
I am happy to announce the release of Python-Markdown 2.0 final. We
have versions for Python 2.3-2.6 and Python 3.0!
See the release notes here:
https://sourceforge.net/project/shownotes.php?release_id=674043&group_id=153041
Download from PyPI here:
http://pypi.python.org/pypi/Markdown/2.0
--
----
\X/ /-\ `/ |_ /-\ |\|
Waylan Limberg
2006 Jul 18
6
When is a site too small for Rails?
Hey, folks.
Mainly, I''m looking for some guidance here. A couple months ago the
buzz around Rails become too much for me, and I finally decided to
give in and learn the framework. This was all very new to me -- most
of my focus in the past couple years has been solely in design with
static XHTML + CSS. I dabbled in PHP, but nothing significant.
Well, I love Rails, and it