Commit Graph

183 Commits

Author SHA1 Message Date
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
Titus
2be5e4ff7d Added documentation for authoring and testing extensions 2012-06-20 21:35:47 -06:00
Titus
22056db9a7 Updated README with new inclusion syntax 2012-06-20 21:19:56 -06:00
Titus
05453b5042 A string name (only) can now be given for bundled extensions 2012-06-20 21:17:58 -06:00
Titus
0218913efa Standardized naming for bundled extensions 2012-06-20 21:11:43 -06:00
Titus
5d56cce321 Updated README to match previous change 2012-06-20 21:05:46 -06:00
Titus
e924b04aa2 Extensions within /src are now automatically loaded to the Showdown namespace when server-side 2012-06-20 20:59:50 -06:00
Titus
c647e8e168 Updated README 2012-06-20 17:34:12 -06:00
Titus
bfa99b3af5 Added header to twitter extension 2012-06-20 17:30:15 -06:00
Titus
10f9c153a3 Added Google Prettify extension (output modification extension test) 2012-06-20 17:16:40 -06:00
Titus
9d0a929fac Modified test runner to support extension tests as well 2012-06-20 17:03:36 -06:00
Titus
7db254fcb2 Re-factored @roberocity 's twitter autolinks into extension format 2012-06-20 17:03:23 -06:00
Titus
4234de3a91 Simplified extensions implementation 2012-06-20 17:02:53 -06:00
Titus
644fb7b983 A first pass at syntax extensions 2012-06-20 15:56:56 -06:00
Corey Innis
f68216820a version 0.2.0 2012-06-15 12:05:16 -07:00
Corey Innis
7f0d59d18e add Titus Stone to package def 2012-06-15 12:04:48 -07:00
Corey Innis
85c98bb838 fix example in README to match current exports 2012-06-15 12:03:13 -07:00
Corey Innis
7babd64590 restore README line endings 2012-06-15 11:55:58 -07:00
Titus
5e477063df Updated test runner to correct require syntax 2012-06-15 12:46:38 -06:00
Titus
994d338eec Switched to correct exporting syntax 2012-06-15 12:46:06 -06:00
Titus
6e5f1f5072 Added myself as a maintenance contributor 2012-06-14 00:54:41 -06:00
Titus
bab6b888ef Added support for new HTML5 structural tags to "pass through" without being wrapped in a <p> 2012-06-14 00:52:20 -06:00
Titus
c2e28da129 Added test case for #10 -- Seems to be working correctly 2012-06-14 00:44:58 -06:00
Titus
3e00e5a2d1 Fixed #11 -- <style> tags are now not wrapped in <p>'s + test case for this 2012-06-14 00:42:15 -06:00
Titus
a3a07eaac6 Updated nested blockquote test case to proper markdown syntax 2012-06-14 00:35:47 -06:00
Titus
cb7192d2cc Revert "Fixed a handful of linting errors"
This reverts commit 80a8880aaa.
2012-06-14 00:32:35 -06:00
Titus
80a8880aaa Fixed a handful of linting errors 2012-06-14 00:26:49 -06:00
Titus
bcf2bafc44 Fixed #17 -- Github style codeblocks now escape HTML properly 2012-06-14 00:18:04 -06:00
Titus
f3f928084e Fixed #21 -- Github codeblocks can now contain back ticks 2012-06-14 00:09:58 -06:00
Titus
fa38885994 Added test case for github codeblock at start of string 2012-06-14 00:08:49 -06:00
Titus
6515742ea9 Added quotes around language class attribute on github style codeblock 2012-06-14 00:03:28 -06:00
Titus
9a0492a7ac Fixed #20 -- Github style codeblocks can now start the parsed string 2012-06-14 00:02:14 -06:00
Titus
b48c06fe72 Fixed mistake in github codeblock test 2012-06-13 23:43:46 -06:00
Titus
29e2f1a039 Fixed #18 -- class= isn't added if the language is not specified 2012-06-13 23:43:13 -06:00
Titus
ecdd68a4a3 Fixed markdown syntax for code examples 2012-06-13 23:35:24 -06:00