Commit Graph

55 Commits

Author SHA1 Message Date
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
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
tstone
6d44697fbf Added more text about adding test cases 2012-06-13 23:28:28 -06:00
tstone
902c5891f6 Removed debug code that was accidentally committed 2012-06-13 23:24:53 -06:00
tstone
ee929c4fe5 Updated readme about running or creating new test cases 2012-06-13 23:05:44 -06:00
tstone
d16e675ae8 Added testing suite 2012-06-13 23:05:31 -06:00
tstone
c37d77a31d Updated gitignore to ignore npm packages and debug log 2012-06-13 23:05:12 -06:00
tstone
f27ea87c00 Fixed example in README 2012-06-13 20:41:01 -06:00
Titus
c5ead005b1 Updated exports syntax to work like README demonstrates 2012-06-13 20:26:42 -06:00
Corey Innis
5729aa9c8c update "compressed" version (now using uglify) 2012-05-27 15:34:48 -07:00
Corey Innis
67a10fb393 version 0.1.0
bumped to reflect recent pulls.
2012-05-27 15:34:36 -07:00
Corey Innis
426cc0c004 add link to wayback machine's archive of attacklab 2012-05-27 15:29:22 -07:00
Corey Innis
d9d7aac3b5 add Cat Chen as contributor 2012-05-27 15:18:51 -07:00
Corey Innis
319ccbcdc0 exports the converter instead of Markdown
per https://github.com/coreyti/showdown/pull/7 but done manually as that change included DOS-style carriage returns on every line.
2012-05-27 15:17:20 -07:00
Corey Innis
de33985af2 add Dominic Tarr as contributor 2012-05-27 15:07:55 -07:00
Corey Innis
de9ffb444f Merge pull request #8 from dominictarr/master
add a quick example
2012-05-27 15:05:18 -07:00
Corey Innis
e877c93ae3 add Roger Braun as contributor 2012-05-27 15:01:31 -07:00
Roger Braun
a589a987d4 Support for github-style code blocks 2011-10-20 19:07:30 +02:00
Dominic Tarr
11fc69fe9f add quick example 2011-09-15 11:47:23 +10:00
Corey Innis
3c52317851 adds contributor 2011-04-09 06:27:45 +08:00
Konstantin Käfer
36d1a72756 add contributor 2011-04-07 13:31:26 -04:00
Konstantin Käfer
6872d72294 adding package.json for CommonJS compliance 2011-04-07 13:26:00 -04:00
Corey Innis
2a04951a5d Add 'Credits' to the README. 2010-10-31 11:35:28 -07:00
Corey Innis
4405b2639e Merge branch 'remy-master' 2010-10-31 11:10:54 -07:00
Corey Innis
55d2f65350 Extend remy's addition of heading id attributes to apply to Setext-style headings as well. 2010-10-31 11:10:22 -07:00
Corey Innis
053b830e88 Add .gitignore 2010-10-31 11:09:35 -07:00
Corey Innis
b99adc105d Make example/showdown.js a symlink, so it always references the current source. 2010-10-31 11:08:59 -07:00
Corey Innis
38e7d83caf Add authorship clarification to README. 2010-10-31 10:54:40 -07:00
Corey Innis
39f691c3a3 Rename README so GitHub will render it 2010-10-31 10:54:40 -07:00
Corey Innis
87537fadc6 Add authorship clarification to README. 2010-10-31 10:40:27 -07:00