similar to: Parsing Code Blocks

Displaying 20 results from an estimated 8000 matches similar to: "Parsing Code Blocks"

2008 Mar 22
7
Babelmark
I'm currently attempting to write a spec for parsing Markdown Extra, and since one goal is to minimize the differences in output between implementations, I've made a tool allowing me to compare who does what for any given input. I hope this can also facilitate future discussions about the syntax. So here's Babelmark, a testbed for various Markdown implementations were you
2008 May 09
5
Markdown Extra Spec: Parsing Section
Hello all, I've began writing the parsing section of the spec, and I though I'd let you know about where I'm heading with all this. Basically, parsing is defined as three consecutive passes: parsing document elements, parsing block elements and parsing span elements. Each pass is going to contain a set of rules the parser should attempt to match while parsing the input. Rules
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 Nov 28
3
Extra markdown suggestions
Hello List, I have recently started using Michel Fortin's PHP "Markdown Extra" implementation to programmatically transform my markdown text files into HTML. Firstly I'd like to say markdown is very cool -- thanks to everyone involved :) I'd also like to suggest two additions to markdown: 1) I very often use /this/ markdown to indicate emphasis since I find it much
2008 May 11
1
PHP Markdown 1.0.1l & Extra 1.2
Time for an update to PHP Markdown and PHP Markdown Extra. <http://michelf.com/project/php-markdown/> This new version of PHP Markdown Extra adds support for "fenced" code blocks (which I was previously calling "flat"). Fenced code blocks overcome many limitations of Markdown's indented code blocks: they can can be put immediately following a list item, can
2008 Jan 05
2
replacing " with &quot;
Python-markdown currently replaces all straight quotes (`"`) with the html entity (`&quot;`). Someone recently complained about this in a [bug report][]. As it turns out the quote was the symptom that brought the real problem to light[^1]. In any event, the reporter pointed out that markdown.pl does not replace straight quotes with the html entity. I know John Gruber has mentioned before
2008 Feb 29
4
evolving the spec (was: forking Markdown.pl?)
> Anyway, a spec for Markdown Extra would contain a spec for Markdown as > well, wouldn't it? I think the whole enterprise would be a lot more valuable, if we produce a combined spec, which would be self-contained, and call it Markdown 2.0. I don't think we necessarily need a formal grammar. What we need is to create a document, starting with "Markdown Syntax" perhaps,
2013 Jan 21
1
PHP Markdown Lib 1.3 (Beta 4)
This is basically a pre-announcement. I'll make the announcement more official by posting it on my blog when it goes out of beta. There's a new branch to PHP Markdown. It contains the two exact same parsers found in PHP Markdown and PHP Markdown Extra, but without all the cruft. In other words: is packaged to be used as a library, and only as a library. The two parsers classes are in the
2007 Aug 04
1
PHP Markdown 1.0.1h & Extra 1.1.4
This update to PHP Markdown fix a bug that slipped in the WordPress interface with the last update. It also introduce a new "feature": you can now instruct the parser to ignore HTML tags and/or entities in the input. You can do this by instantiating yourself the parser and setting the `no_markup` or `no_entities` properties to true: $parser = new Markdown_Parser;
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
2008 Mar 10
2
Create Slide Shows (PowerPoint/KeyNote-Style) Using Markdown using the Slide Show (S9) Ruby Gem
Hello, I've published a Ruby gem that lets you create slide shows and author slides in plain text using a wiki-style markup language that's easy-to-write and easy-to-read. Yes, that's Markdown. (Textile is supported too ;-) You can find two samples online in Markdown: o http://slideshow.rubyforge.org/svn/samples/rest.text o
2007 Aug 27
2
Benchmarks with TextMate's manual
The following benchmarks have been obtained using the TextMate manual as the input source: <http://macromates.com/textmate/manual/source.tbz> Using PHP Markdown, parsing the 24 files separately (with the reference file appended to each of them), I get this (on an iBook G4 1.2 Ghz): Total Avg. Min. Q1. Med. Q3. Max. Parse Time (ms):
2006 Sep 16
5
PHP Markdown 1.0.2b7
This is a new release for PHP Markdown, following Markdown.pl 1.0.2b7 from a few weeks ago. It fix the same bugs, and some more; it also introduce more radical backend changes. It can be downloaded here: <http://www.michelf.com/docs/projets/php-markdown-1.0.2b7.zip> and you can test it on the PHP Markdown Dingus: <http://www.michelf.com/projects/php-markdown/dingus/> This
2007 Aug 31
1
PEAR Channel and Git Repository Mirror for PHP Markdown & Extra
Until today, the only way I offered PHP Markdown and PHP Markdown Extra was with packaged zip files available on my website. It turns out, unsurprisingly, that some people would prefer a simpler path for keeping their copy of PHP Markdown up-to-date. So today I announce two additional ways of grabbing PHP Markdown and PHP Markdown Extra. The first one is a PEAR channel which can be used
2008 May 27
0
PHP Markdown Extra 1.2.1
This is an Extra-only release for fixing an embarrassing bug with fenced code blocks. <http://michelf.com/projects/php-markdown/> Extra 1.2.1 (27 May 2008): * Fixed a problem where Markdown headers and horizontal rules were transformed into their HTML equivalent inside fenced code blocks. In other words, this: ~~~ # hello - - - ~~~ would generate a header and
2006 Sep 18
1
PHP Dingus Fix
I just realised I hadn't updated the version of PHP Markdown and Extra on the dingus as I pretended I did in my two announcements. It is now fixed: PHP Markdown 1.0.2b7 and PHP Markdown Extra 1.1b1 can now be tested on the dingus. <http://www.michelf.com/projects/php-markdown/dingus/> Sorry for any inconvenience. Michel Fortin michel.fortin@michelf.com http://www.michelf.com/
2008 Jun 22
0
PHP Markdown 1.0.1m & Extra 1.2.2
Here's another update to PHP Markdown and PHP Markdown Extra featuring some bug fixes. See the download link on the project's page: <http://michelf.com/projects/php-markdown/> This update also features a new emphasis parser which process regular and strong emphasis in one pass instead of two and four for previous versions of PHP Markdown and PHP Markdown Extra. The new parser
2013 Feb 08
1
<footer> and cie.
Question: what should be the output for this: > for me the point of having my blog as a static site is mainly easy deployment<br> > I don't have to worry about even configuring PHP<br> > I just put html on a web server and boom! instant win > > <footer>? [Igor Wiedler wins](https://igor.io)</footer> The real question is how to treat
2006 Sep 16
1
PHP Markdown Extra 1.1b1
Along with the new release of PHP Markdown 1.0.2b7 comes this new version of PHP Markdown Extra. It contains every improvements of PHP Markdown 1.0.2b7 plus some new fixes and two new features. You can download it here: <http://www.michelf.com/docs/projets/php-markdown-extra-1.1b1.zip> and you can test it on the PHP Markdown Dingus (select PHP Markdown Extra):
2007 Jul 03
2
MDTest 1.0
I'm announcing today a new testsuite application for Markdown called MDTest. I've been using it as a replacement for John's Markdown Test for some time now I think it's ready for release. First, I want to say Markdown Test has been very useful in developing PHP Markdown. The testsuite covers many cases, however I still found the need to add other tests for PHP Markdown, to