800 Commits

Author SHA1 Message Date
Christopher Jeffrey
c8e421ced3 Merge pull request #186 from ChrisWren/readme
Properly use async method signature in second example
2013-08-02 09:48:36 -07:00
Christopher Jeffrey
950b4ed0e7 Merge pull request #195 from mkozhukh/master
marked can't be called with two parameters
2013-08-02 09:46:22 -07:00
Christopher Jeffrey
be0c32369a Merge pull request #178 from tasuk/improve-smartypants
Improve smartypants support
2013-08-02 09:42:18 -07:00
Christopher Jeffrey
2b1f28e3ae Merge pull request #198 from ianstormtaylor/component
added a component.json
2013-08-02 09:40:05 -07:00
Christopher Jeffrey
e66847683d Merge pull request #206 from yearofmoo/fix_readme_sanitize
fixed README to correctly point out the default sanitize value
2013-08-02 09:33:21 -07:00
Christopher Jeffrey
c89d8d14bd Merge pull request #211 from insanehong/master
modify lheading converting for support standard markdown syntax
2013-08-02 09:31:31 -07:00
insanehong
1a0ad5782d modify lheading converting for support standard markdown syntax 2013-08-02 13:10:57 +09:00
Matias Niemelä
7295f6d9f5 fixed README to correctly point out the default sanitize value 2013-07-25 13:37:55 -04:00
Ian Storm Taylor
1a87316265 added a component.json 2013-07-16 22:07:43 -07:00
Maksim Kozhukh
9da7b230c7 [fix] marked can't run without options parameter 2013-07-15 10:49:44 +03:00
Chris Wren
420fd34991 Fixed order of highlight options in highlight.js example 2013-07-06 04:13:52 -07:00
ChrisWren
8f314bcae0 Properly use async method signature in second example 2013-07-04 11:04:04 -07:00
Christopher Jeffrey
922dd96495 Merge pull request #184 from ChrisWren/readme
Updated README
2013-07-04 00:00:50 -07:00
ChrisWren
a70d36610b Updated README 2013-06-28 11:54:34 -07:00
Vit Brunner
e7e9c07d6b Improve smartypants support
Taken from http://gist.github.com/drdrang/705071

Basically, if a ' or a " is preceded by the beginning of line, dash,
slash, parentheses, brackets, quotes, or whitespace, it's an opening
one. Otherwise it's a closing one.
2013-06-18 22:35:56 +01:00
MinRK
d358cbeed8 test spaces in URLs 2013-06-17 16:23:49 -04:00
MinRK
bf6b74bdc2 allow spaces in URLs 2013-06-17 16:23:38 -04:00
Christopher Jeffrey
31c50a9f14 Merge pull request #164 from ianstormtaylor/patch-2
added smartypants to readme
2013-06-01 16:53:50 -07:00
Ian Storm Taylor
cd393e6613 added smartypants to readme 2013-06-01 14:30:49 -06:00
Christopher Jeffrey
df8640cd36 v0.2.9 v0.2.9 2013-05-28 20:39:47 -05:00
Christopher Jeffrey
e59d5d0bc4 whitespace 2013-05-28 20:38:38 -05:00
Christopher Jeffrey
bee9e8e5c3 attempt all benchmarks. 2013-05-28 20:37:59 -05:00
Christopher Jeffrey
e00d7e7a14 improve async code error handling. 2013-05-28 20:37:59 -05:00
Christopher Jeffrey
cf5e9edbf6 use --test for running tests from bin/marked. 2013-05-28 20:37:59 -05:00
Christopher Jeffrey
f7d36a715b fix async code. 2013-05-28 20:37:59 -05:00
Christopher Jeffrey
d6a5062087 Merge pull request #154 from omeid/master
SmartyPants Encoding Issue.
2013-05-28 18:39:21 -07:00
MinRK
063848b213 do not escape style elements
extends 3fb76d7b2aa6ec86db4697a88238921c94d5dfaa to style tags
2013-05-13 08:44:28 -07:00
omeid
98bca24c9d Smarty panths fixed. :) 2013-05-05 15:17:10 +10:00
Christopher Jeffrey
58a692dbd4 Merge pull request #130 from lepture/bench-fix
fix benchmark
2013-03-30 09:24:15 -07:00
Christopher Jeffrey
b9c2a3dda3 Revert "implement smartypants."
This reverts commit d1990428bcfb1ab9da3a87f9e7024abbce732a90.
2013-03-18 07:14:52 -05:00
Christopher Jeffrey
d1990428bc implement smartypants. 2013-03-18 07:14:48 -05:00
Christopher Jeffrey
3fb76d7b2a do not escape script elements. fixes #142.
this is not accurate to the original markdown.pl,
but neither is not escaping `<pre>` elements.
2013-03-17 13:45:43 -05:00
Christopher Jeffrey
c7664d947a add smartypants test. 2013-03-17 02:07:30 -05:00
Christopher Jeffrey
2160401dce add preliminary smartypants code. see #137. 2013-03-16 23:00:06 -05:00
Christopher Jeffrey
ee4b7a89f3 Revert "allow dashes in language names. fixes #138."
This reverts commit 608fdb3a1b35ce9da6461ea2e9b15a22909aa447.
2013-03-16 22:33:48 -05:00
Christopher Jeffrey
608fdb3a1b allow dashes in language names. fixes #138. 2013-03-16 22:32:57 -05:00
Christopher Jeffrey
db4b6d4724 async highlighter support. closes #47. 2013-03-16 22:32:15 -05:00
Christopher Jeffrey
70c4741d7e Merge pull request #139 from Niggler/master
GFM supports arbitrary characters in fenced code block language identifier.
2013-03-16 20:32:38 -07:00
Niggler
2a242b782d GFM supports arbitrary characters in fenced code block language identifier 2013-03-16 23:23:25 -04:00
Hsiaoming Yang
cd660550bd make example more clearly 2013-03-12 11:59:20 +08:00
Hsiaoming Yang
527bebb0ea global leak of flags 2013-03-11 16:31:16 +08:00
Hsiaoming Yang
b628f20a79 remove the convient way 2013-03-11 16:14:40 +08:00
Hsiaoming Yang
6a30b517b1 1. fix benchmark for showdown
2. remove discount benchmark // not working on v0.8.x
3. add robotskirt benchmark
4. add target of bench in Makefile
5. add devDependencies in package.json
2013-03-01 17:25:28 +08:00
Hsiaoming Yang
a5b2a5f895 this is not a bugfix, version bump to 0.3. remove preferGlobal, coz it is a lib more than a program 2013-03-01 14:14:18 +08:00
Hsiaoming Yang
7cf81320f3 add readme for renderer 2013-03-01 14:12:17 +08:00
Hsiaoming Yang
5ea496f3e6 convenience parse api 2013-03-01 14:12:04 +08:00
Hsiaoming Yang
95a419f02a export Renderer 2013-03-01 13:47:15 +08:00
Hsiaoming Yang
2f22cd05ca detail fix. 44/48 tests passed, just as the master branch 2013-03-01 13:34:11 +08:00
Hsiaoming Yang
d40c9d0425 fix blockcode render, more test cases passed 2013-03-01 11:55:07 +08:00
Hsiaoming Yang
a4078c23b2 use renderer to customize output 2013-03-01 11:48:12 +08:00