Displaying 20 results from an estimated 24 matches for "smartypants".
2006 Jun 28
0
PHP SmartyPants Typographer 1.0b2
As I stated before, I had in the work a utility to control spaces
around punctuation and at some other places. Now, I've integrated it,
with a few extra quote goodies, within PHP SmartyPants, as an
extension just like PHP Markdown Extra extends PHP Markdown.
And so appeared SmartyPants Typographer (announcement on my weblog)
<http://www.michelf.com/weblog/2006/and-so-appeared-smartypants-
typographer/>
PHP SmartyPants Typographer 1.0 (documentation page)
<http://www.miche...
2009 Oct 22
3
Order of Markdown and SmartyPants filters (was: Re: Markdown Support in Drupal6.14?)
...gt; <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 the SmartyPants and Markdown filters (in that order) to your
> content, and update them by dropping-in Michel's latest PHP libs if
> the Drupal-supplied ones fall out of date.
>
I'm now puzzled which is the correct order to apply the filters. SmartyPants
first and Markdown then (as above), or the...
2006 May 19
1
Object-Oriented PHP Markdown/SmartyPants
This is something that I've been asked for many times. So today I'm
announcing that all future versions of PHP Markdown and PHP
SmartyPants will be encapsulated in a parser class. This has two
major benefits:
1. It should make extensions to the syntax easier to create and
maintain as it is now possible to now extend the parser by
replacing (overriding) only the relevant parts without modifying
the existing PHP Markdo...
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 plugin for WP, but I have two questions:
1) My "links" entries (automated posts from del.icio.us) are in...
2006 May 03
1
SmartyPants 1.6 multiply remarks
...her (only the first x is changed):
>
> 4 x 2 x 3
>
> And finally, maybe `\x` should be added to the list of character
> escapes.
These are all great catches. I'll fix them for the next beta. Now
that I can work on this stuff during the day, I'll try to release
a new SmartyPants and Markdown soon.
-J.G.
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/
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 <h2>. It will us...
2007 May 21
0
PHP Markdown 1.0.2b8 & Extra 1.1.3b1
...f.com/docs/projets/php-markdown-1.0.2b8.zip>
<http://www.michelf.com/docs/projets/php-markdown-extra-1.1.3b1.zip>
One noticeable change in these releases is that PHP Markdown now
outputs numeric character references for escaped characters (like
- for \-) to avoid clashes with SmartyPants. (See changelog below
for details.) If this is causing problem to someone, I'd like to know.
As these are betas, they include support for reference-style
[shortcut] links unlike the most recent non-beta releases of PHP
Markdown for which this code has been commented out.
Here's what...
2008 Jan 05
2
replacing " with "
...ight.
1. First of all, using the straight quote is not invalid html or
xhtml, so why do we care? In fact, I can't seem to find one reference
that explains why the html entity should be used in this case.
2. If I'm not mistaken, having markdown output the html entity makes
it imposable for smartypants to then convert straight quotes into
"curly" quotes - which may be undesirable to some users.
So, my question is: Which implementation do you consider correct and why?
[bug report]: https://sourceforge.net/tracker/index.php?func=detail&aid=1862742&group_id=153041&atid=790198...
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 implementation of Markdown. (There are a variety of "flavors" or "distros" or "forks" or whatever of it.)
john
2007 Jul 03
0
PHP Markdown 1.0.1g & Extra 1.1.3
...0".
was incorrectly changed to this in previous versions of PHP
Markdown:
<p>The MD5 value for "+" is "+".</p>
* Now convert escaped characters to their numeric character
references equivalent.
This fix an integration issue with SmartyPants and backslash
escapes.
Since Markdown and SmartyPants have some escapable characters in
common,
it was sometime necessary to escape them twice. Previously, two
backslashes were sometime required to prevent Markdown from
"eating" the
backslash before SmartyPants s...
2006 May 31
0
acts_as_blog
ActsAsBlog
==========
Here is a simple plugin to allow you to allow the use of
RedCloth,BlueCloth, or SmartyPants in your blog.
It''s super simple to use. It will take your blog post or comment and
transform it into html.
This allows you to write in a much simpler syntax and allows your users
to post valid html into their comment.
It also allows you to block all html tags that weren''t creat...
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 Jun 22
1
PDF output
...custom markup. For a while I wrote raw TeX, relying on a macro file to
simplify things only a little.
Upon examining the output of Markdown and noting the very small set of
tags, I thought it might lend itself naturally to this project. The
result is a crude shell script that uses Markdown, SmartyPants and
tetex (specifically, pdfetex) to generate a pdf file from a Markdown
file.
At present the script does not support images and its URL handling is
pretty crude. I don't even try to do anything with obscured e-mail
links.
I also deviate from Markdown by:
- leaving the plain TeX page...
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
2007 Jun 05
1
Tartan wiki parser 0.2.0
Hi all,
I'd like to introduce you to the Tartan project
(http://tartan.folklogic.net) and get your feedback. It's a Ruby based
wiki text parser with the following goals:
1. handle more then one wiki markup but start with Markdown
2. allow mixing-in of markup rules (eg. Markdown + smartypants +
tables + wiki links; each as a separate definition)
3. tests and rule definitions written in a programming language
neutral format (YAML)
4. support more than one programming language implementation using
the same rules and tests
The parser is at version 0.2.0 and current...
2006 Jul 18
6
When is a site too small for Rails?
...f
my sites in Rails. The restaurant site, right now, probably only
gets 10 unqiue visitors a day. Some of you may laugh when you hear
that I chose Rails to do a site like with that low amount of traffic,
but I simply didn''t know any better at the time. So my question you
then, smartypants, what should I have done? I like how simple the
CMS backend was to create with Rails. I want to be able to offer
that to all of my clients. I''ve invested a lot of time into Rails,
so I hate to leave it and learn something like PHP to write all my
small sites from scratch. Maybe...
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
2007 Oct 12
2
Nested lists and blank lines
I have recently begun using Markdown + PHP Md Extra + SmartyPants in
the Symphony XML-based CMS. I'm not sure if this is a Symphony
question, or one that can be answered here. I hope someone will tell
me. :) I've done my best to find an answer in the online
documentation, but drawn a blank.
When I use nested lists -- it doesn't matter whether <ol&...
2007 Aug 08
2
Backtick Hickup
I'm using Michel Fortin's MDTest cases to rewrite my html2text.php script.
Just now I stumbled upon this bug (in PHP Markdown at least):
# Input:
Backtick: ``\```
# Output:
<p>Backtick: `````</p>
# Should-Be Output:
<p>Backtick: <code>`</code></p>
If you (Michel) are already aware of this, just ignore me ;-)
--
Milian Wolff