Commit graph

281 commits

Author SHA1 Message Date
Michel Fortin
d6ed0d0803 Fixed some issues with fenced code blocks.
HTML block parser was confusing backtick fenced code blocks with
code spans, which has no consequence most of the time but could
be problematic if you're writing code spans inside of the code block.
Code span markers are now matched only when backtick fence matching
has failed.

Fixed an issue were two consecutive fenced code blocks with no
blank line between them which was causing the next paragraph to
become a code block (with both tilde and backtick fences).
2013-11-28 16:19:35 -05:00
Michel Fortin
05d1f999ec Removed rev="footnote" from HTML output.
The `rel` attribute was removed a while ago, but for some reason `rev` stayed. It shouldn’t.
2013-11-28 15:20:57 -05:00
Michel Fortin
ab94f5c4c5 Merge branch 'lib' of git://github.com/JasWSInc/php-markdown into lib 2013-11-28 15:10:23 -05:00
Michel Fortin
fe2c74424e Added instructions in the Readme about submitting pull requests, with reference to MDTest.
Fixes #114.
2013-11-28 10:21:43 -05:00
Michel Fortin
2b13410202 Merge branch 'patch-1' of git://github.com/Cangit/php-markdown into lib 2013-11-28 09:51:56 -05:00
David Angel
2d578a8607 Minor documentation typo fix.
‘praser’ to ‘parser’
2013-11-25 15:20:06 -05:00
Cangit
91e0abc040 Update Readme.md
Typo fix in version number.
2013-11-19 11:06:15 +01:00
Jason Caldwell
ab786ae1d5 GFM-Style Fenced Code Blocks Only (no lang attribute)
Removing the additional code that I applied previously to implement the `data-lang` attribute. In retrospect, this was a bad idea; as the existing implementation does a good job with this already when used properly.

Many thanks to Michel Fortin for his help in accomplishing these changes :-) I hope this might be merged into the official copy at some point in the future.
2013-10-13 00:14:12 -07:00
Jason Caldwell
149e0dccc1 Improving GFM-Style Fenced Code Blocks; and Updating to data-lang="". 2013-09-30 22:58:34 -07:00
Jason Caldwell
2383db7cd6 GFM Enhancements (Backticks)
- Adding support for GFM backticks ``` (for fenced code blocks); in additional to ~~~ already supported in Markdown Extra.
- Adding support for GFM language marker; e.g. ```php
2013-09-23 03:59:54 -07:00
Michel Fortin
9dbd8352de Merge branch 'lib' of git://github.com/donatj/php-markdown into lib 2013-08-02 06:50:14 -04:00
Jesse Donat
63921893d0 Excluded trailing ?>'s on class code per PSR-2 Subheading 2.2
"The closing ?> tag MUST be omitted from files containing only PHP"
2013-07-31 12:16:32 -05:00
Michel Fortin
7515e20f95 Removed a forgotten paragraph in the readme that does no longer apply in the lib version. 2013-07-27 22:48:05 -04:00
Michel Fortin
f7f33720a6 Merge branch 'lib' of git://github.com/yosymfony/php-markdown into lib 2013-07-16 12:38:13 -04:00
YoSymfony
a315693e5e Fixed the configuration variables links 2013-07-16 18:21:19 +02:00
Claus Due
b496f5410c Unify indentations to tabs in composer.json 2013-07-01 18:20:03 +02:00
Michel Fortin
53f6388717 Removed doppelgänger Usage section in the Readme.md file. 2013-04-13 15:18:58 -04:00
Jan Minar
ce4aa777ca Spell-check Readme.md 2013-04-13 18:54:58 +01:00
Michel Fortin
fcdd3e0781 Documentation revamp. 2013-04-11 14:53:11 -04:00
Michel Fortin
9e034f6970 Removed constants for related versions of PHP Markdown from PHP Markdown Lib.
This is probably more trouble to maintain than it is worth. Also, people will mistake this for the version to use when filling bug reports.
2013-04-11 14:22:57 -04:00
Michel Fortin
9bb43f4208 Merge branch 'extra' into lib
Conflicts:
	Michelf/Markdown.php
2013-04-11 14:22:37 -04:00
Michel Fortin
b503c58756 Typo in version number. 2013-04-11 14:21:44 -04:00
Michel Fortin
0cf3345f8c Set PHP Markdown Lib version to 1.3. Merge branch 'extra' into lib.
Conflicts:
	Michelf/Markdown.php
	Readme.md
2013-04-11 14:20:50 -04:00
Michel Fortin
2838fb7dd8 Bumped version of Extra to 1.2.7. 2013-04-11 14:10:33 -04:00
Michel Fortin
e54ac83f6b Merge branch 'master' into extra
Conflicts:
	PHP Markdown Extra Readme.text
	markdown.php
2013-04-11 14:09:11 -04:00
Michel Fortin
91e8734e79 Bumped version number to 1.0.1q and added some version history. 2013-04-11 14:06:48 -04:00
Michel Fortin
57a59c71b9 Bumped version to 1.3-rc2. 2013-04-10 22:34:11 -04:00
Michel Fortin
c8c17c316b transform() should be public. 2013-04-08 16:41:52 -04:00
Michel Fortin
a90ca11375 Updated Readme file for new Lib 1.3-rc1 2013-04-08 08:40:51 -04:00
Michel Fortin
2b1d98bc35 Bumped MARKDOWNLIB_VERSION to 1.3-rc1 2013-04-08 08:38:01 -04:00
Michel Fortin
e045d23969 Revealed a few quirks in Lib version now that unit tests are in place. 2013-04-08 07:51:34 -04:00
Michel Fortin
6070ddbd7c Oops, class constants cannot have a visibility attribute. 2013-04-08 07:34:29 -04:00
Michel Fortin
3ffc75e7c0 Merge branch 'extra' into lib 2013-04-07 15:11:15 -04:00
Michel Fortin
7a00f238c3 Merge branch 'master' into extra 2013-04-07 15:11:00 -04:00
Michel Fortin
1d33f217f8 Wrong initialization of the in_anchor member variable. 2013-04-07 15:07:40 -04:00
Michel Fortin
2a18dd6244 Merge branch 'lib-protected' into lib
Conflicts:
	Readme.md
2013-04-07 14:39:14 -04:00
Michel Fortin
23f87bf267 Merge branch 'extra' into lib
Conflicts:
	Readme.md
2013-04-07 14:24:24 -04:00
Michel Fortin
7cb355c91e Fix for issue 72. 2013-04-07 14:00:03 -04:00
Michel Fortin
756756595b Updates to readme file. 2013-03-07 08:28:44 -05:00
Michel Fortin
7dd67edf6c Added protected visibility attribute to a few new functions coming from the extra branch. 2013-02-08 09:55:20 -05:00
Michel Fortin
46ca53917c Fixed readme to include information about beta 5. 2013-02-08 08:42:37 -05:00
Michel Fortin
756f7173da Merge branch 'extra' into lib-protected
Conflicts:
	Michelf/Markdown.php
	Readme.md
2013-02-08 08:40:36 -05:00
Michel Fortin
18974a53b9 Added extra attribute block for links and images. 2013-02-08 08:34:46 -05:00
Michel Fortin
d95ec6edf1 Added Public API and Versionning Policy to readme file. 2013-02-07 08:26:37 -05:00
Michel Fortin
7b88cf4d4c Added protection attributes. 2013-02-07 08:25:02 -05:00
Michel Fortin
a4004737d1 Implemented table alignment class as an optional configuration option. Using the align attribute if not configured. 2013-02-07 07:42:40 -05:00
Michel Fortin
ca799f80fa Now using a PSR-0-compatible autoloader. 2013-02-03 16:14:12 -05:00
Michel Fortin
a10d489199 Added \Michelf\Markdown\MARKDOWNLIB_VERSION in replacement of previous version constants bound to the masters and extra branches. 2013-01-28 08:00:51 -05:00
Michel Fortin
06cb8f2487 Fixed issue of Michelf\MarkdownExtra not autoloading it's base class. 2013-01-28 07:53:32 -05:00
Michel Fortin
2993fbc030 Updated version history. 2013-01-24 14:06:42 -05:00