Commit Graph

517 Commits

Author SHA1 Message Date
Pascal Deschenes
20aef335b4 fix travis file 2012-11-01 18:23:06 -04:00
Pascal Deschenes
08de80cc0d fix a few bits of documentation + add travis-ci build status image 2012-11-01 17:41:15 -04:00
Pascal Deschenes
013fed875c bump version number 2012-11-01 16:22:41 -04:00
Pascal Deschenes
8c5ae8ef8f add re-entering support for table content 2012-11-01 16:16:34 -04:00
Pascal Deschenes
0440ef313e fix bug with this scope handling and extension converter argument
* `this` scope is captured as `self`, so that it can be properly passed to `Showdown.forEach(plugin(self)` otherwise,
  extension plugin will end up with converter pointing to global scope.
* because Showdown is not using proper prototype chain (i.e. references to yet to be defined functions), I had to
   move the extension handling below makeHtml so that it is defined and available within the plugin itself
2012-11-01 16:12:32 -04:00
Pascal Deschenes
dc28410a3b Merge branch 'master' into feature-table-extension
Conflicts:
	README.md
	src/showdown.js
2012-11-01 14:21:39 -04:00
Pascal Deschenes
8a95b24ec2 ignore stuff for git archive 2012-11-01 14:13:13 -04:00
Pascal Deschenes
5153d76d89 add basic grunt file support 2012-11-01 14:12:53 -04:00
Pascal Deschenes
803efa03af add test script and specific mocha/should version in package.json 2012-11-01 14:12:27 -04:00
Pascal Deschenes
ff9007606b fix typo 2012-11-01 14:09:12 -04:00
Pascal Deschenes
7e8971cc39 add travis ci build support 2012-11-01 14:08:26 -04:00
Pascal Deschenes
ddec23684f fix prettify naming (client side error) 2012-11-01 14:07:53 -04:00
Corey Innis
e64d1fe309 [#36] regenerate output 2012-11-01 00:52:50 -07:00
Corey Innis
126de06126 [#36] correct documentation.
Showdown is not a constructor.
2012-11-01 00:51:32 -07:00
Corey Innis
7c28d3752c [#36] iterate with Showdown.forEach
* browser support: [].forEach is not always available.
* also using Showdown.forEach in the test suite, to set the pattern.
2012-11-01 00:50:03 -07:00
Corey Innis
d6d7f807ea [#14] add initial github-flavored extension
simply handles strike-through for now.
2012-10-31 03:38:46 -07:00
Corey Innis
60c6eec3eb [#14] speling fix 2012-10-31 02:38:06 -07:00
Corey Innis
bde91a1106 version 0.3.0 2012-10-31 02:05:41 -07:00
Corey Innis
b0f45c590f regenerate output files 2012-10-31 01:59:36 -07:00
Corey Innis
99c5b4609a update contributors 2012-10-31 01:21:28 -07:00
Corey Innis
b8c979653e post-merge (abackstrom) remove extraneous var declaration. 2012-10-31 01:18:06 -07:00
Corey Innis
8a8820634e Merge remote-tracking branch 'abackstrom/striplinkdefinitions-endstring' 2012-10-31 01:16:05 -07:00
Corey Innis
e517605e09 update contributors 2012-10-31 00:54:12 -07:00
Corey Innis
374669bb49 post-merge (unwiredben) update html5 structural tests
to be sure the previous test incarnations continued to work.
2012-10-31 00:32:30 -07:00
Corey Innis
9075cdc080 Merge remote-tracking branch 'unwiredben/master' 2012-10-31 00:30:23 -07:00
Corey Innis
fb4fed1db2 Merge remote-tracking branch 'tstone/upstream' 2012-10-31 00:19:12 -07:00
Corey Innis
d46f5b5de3 regenerate compressed showdown.js 2012-10-31 00:07:31 -07:00
Corey Innis
bf120d1d67 update contribution note for stone (you rock!) 2012-10-31 00:05:51 -07:00
Corey Innis
57fa69eff5 minor README cleanup 2012-10-30 23:37:53 -07:00
Corey Innis
c0d6f9fb21 Merge remote-tracking branch 'tstone/syntax-extensions' 2012-10-30 22:39:04 -07:00
Pascal Deschenes
b9f38acb18 table extension new test cases:
+ larger table
+ equals as header separators
2012-10-30 17:05:09 -04:00
Pascal Deschenes
caa98a8dde bug fixes:
+ fix bug with forEach extensions within client-side handling (browser)
+ update README to specify extension as array for client-side usage (same as server)
2012-10-30 16:55:18 -04:00
Pascal Deschenes
aa76deec74 add basic table support 2012-10-30 14:39:34 -04:00
Adam Backstrom
6645ca173b Apply sentinel fixes to _StripLinkDefinitions 2012-10-19 11:55:49 -04:00
unwiredben
9b297fa877 Remove unnecessary "match anything" test that caused excessive run time on some mixed content
Update HTML5 structural tags test to also verify correctness this regexp and the previous one.

Signed-off-by: unwiredben <combee@techwood.org>
2012-09-08 14:17:52 -05:00
Corey Innis
3b9b743f90 Update README.md 2012-08-14 17:34:40 -07:00
Titus
90e51e95cc Added test for #25. Looks to be working. 2012-08-11 07:02:41 -06:00
Titus
0e4c052373 Merge branch 'master' into syntax-extensions 2012-08-09 20:19:17 -06:00
Pavel Lang
8d5a284272 Code cleanup
* Arrays used as hashes replaced by object initializer `{}` and Array
constructor calls replaced with array literal `[]`

* `function char2hex(ch)` used in email obfuscation replaced with inline
call `ch.charCodeAt(0).toString(16)`

* **For clarity I edited only src/showdown.js script. There are also
copy of file in `example` directory and minified version in
`compressed` directory.**
2012-08-09 20:15:55 -06:00
Titus
541b3eccb1 Fixed #26 -- Urls which contained matched parenthesis are now supported 2012-08-09 20:13:59 -06:00
Titus
e6526026ec Fixed #26 -- Urls which contained matched parenthesis are now supported 2012-08-09 20:06:58 -06:00
Titus
35abe36946 Merge branch 'syntax-extensions' of github.com:tstone/showdown into syntax-extensions 2012-08-09 19:51:43 -06:00
Joe Martin
32db258511 Added AMD friendly piece of code. 2012-08-09 19:51:13 -06:00
Joe Martin
2d80b3af04 Added AMD friendly piece of code. 2012-08-09 19:49:54 -06:00
Titus
6f50dd559b Merge pull request #1 from langpavel/syntax-extensions
Extension autoloading fix
2012-08-09 17:53:56 -07:00
Pavel Lang
a67421ba2a Extension autoloading fix 2012-08-10 02:35:20 +02:00
Pavel Lang
483bb8604c Merge remote branch 'tstone/syntax-extensions' into syntax-extensions 2012-08-10 02:28:10 +02:00
Pavel Lang
8b96a42fbc Code cleanup
* Arrays used as hashes replaced by object initializer `{}` and Array
constructor calls replaced with array literal `[]`

* `function char2hex(ch)` used in email obfuscation replaced with inline
call `ch.charCodeAt(0).toString(16)`

* **For clarity I edited only src/showdown.js script. There are also
copy of file in `example` directory and minified version in
`compressed` directory.**
2012-08-10 02:01:00 +02:00
Titus
599e9d47f7 Added link to github page and license 2012-06-20 21:51:59 -06:00
Titus
96e13ee912 Merge branch 'master' of git://github.com/coreyti/showdown into syntax-extensions 2012-06-20 21:46:59 -06:00