Commit Graph

295 Commits

Author SHA1 Message Date
Estevão Soares dos Santos
0da9626408 chore(): code fix to pass jscs linter 2015-01-19 14:57:43 +00:00
Estevão Soares dos Santos
79829dbbf1 chore(): code style fix and tests fix due to code style changes 2015-01-19 12:04:22 +00:00
Estevão Soares dos Santos
8b000b134a chore(all): code style change 2015-01-19 11:37:21 +00:00
Estevão Soares dos Santos
c367a4b9a1 feat(uniqueHeaderId): add unique id prefix and suffix to headers
If two headers have similar texts, the generated id could be equal. In order to prevent id clash:
  - A unique suffix is added if a header id already exists
  - Option to add a prefix to header id
  - Update of correspondent tests
  - (credits to nicovalencia)

Closes #81, closes #82
2015-01-18 02:12:32 +00:00
Estevão Soares dos Santos
d4f619c666 Test(emphasis): prove that emphasis mechanism is working correctly
This test scenario is related to issue #107
2015-01-16 23:05:12 +00:00
Estevão Soares dos Santos
f938d2b8aa test(emphasis): add more test scenarios to emphasis 2015-01-16 23:03:38 +00:00
Estevão Soares dos Santos
3bbe4e2ef1 test(emphasis): change test to match original spec test 2015-01-16 22:17:25 +00:00
Estevão Soares dos Santos
bf094ba446 test(): browser and node tests now live in different directories
This enables one to run the appropriate tests according to evironment
2015-01-16 21:48:28 +00:00
Estevão Soares dos Santos
eae5f0e01f Major code refactoring 2015-01-15 21:21:33 +00:00
Alessandro Vermeulen
3dbc6ffcfb Added fix to prevent table rendering to be broken by alignment character ":". 2015-01-09 21:32:05 +01:00
vincent
476d18f47f Fix multi-table issue (buffer not flushed) 2014-11-11 20:17:35 +01:00
vincent
5eb7e618e9 add multiple markdown tables test 2014-11-11 16:48:01 +01:00
vincent
4909f81cf9 Furigana extension 2014-11-05 00:18:15 +01:00
Pascal Deschenes
b143ea30e8 fix test cases following table extension re-entrant support 2012-11-01 18:33:48 -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
ff9007606b fix typo 2012-11-01 14:09:12 -04:00
Pascal Deschenes
ddec23684f fix prettify naming (client side error) 2012-11-01 14:07:53 -04: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
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
Pascal Deschenes
b9f38acb18 table extension new test cases:
+ larger table
+ equals as header separators
2012-10-30 17:05:09 -04:00
Pascal Deschenes
aa76deec74 add basic table support 2012-10-30 14:39:34 -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
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
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
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
e924b04aa2 Extensions within /src are now automatically loaded to the Showdown namespace when server-side 2012-06-20 20:59:50 -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
5e477063df Updated test runner to correct require syntax 2012-06-15 12:46:38 -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
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
b48c06fe72 Fixed mistake in github codeblock test 2012-06-13 23:43:46 -06:00
tstone
902c5891f6 Removed debug code that was accidentally committed 2012-06-13 23:24:53 -06:00
tstone
d16e675ae8 Added testing suite 2012-06-13 23:05:31 -06:00