Commit Graph

314 Commits

Author SHA1 Message Date
Estevão Soares dos Santos
c6b60f12fa test(converter.makeHtml): refactor test to improve readability 2015-05-31 18:47:09 +01:00
Estevão Soares dos Santos
e3a4541ab3 Revert "fix(suparsbers/lists.js): fix odd behavior for multiple consecutive lists"
This reverts commit 11f32e04a6.
2015-05-30 00:10:21 +01:00
Estevão Soares dos Santos
11f32e04a6 fix(suparsbers/lists.js): fix odd behavior for multiple consecutive lists 2015-05-30 00:09:30 +01:00
Estevão Soares dos Santos
2a4a2bdf21 test(option.prefixHeaderId): add tests for prefixHeaderId option 2015-05-27 01:48:49 +01:00
Estevão Soares dos Santos
51167c810d style(tests): remove unecessary comment in testMakeHtml 2015-05-27 01:39:29 +01:00
Estevão Soares dos Santos
141e3f5f44 test(options.omitExtraWLInCodeBlocks): add test for options.omitExtraWLInCodeBlocks 2015-05-26 19:58:05 +01:00
Estevão Soares dos Santos
5efb5517a9 test(issues): add testcase for PR #83 2015-05-23 02:02:03 +01:00
Estevão Soares dos Santos
509a1d37b4 chore(tests) fix test that didn't merge correctly 2015-05-14 03:04:52 +01:00
Estevão Soares dos Santos
612c8ce661 Merge branch 'showdown2' 2015-05-14 03:01:03 +01:00
Estevão Soares dos Santos
c212dda65d Cleaning master for merging with branch showdown2 2015-05-14 02:50:17 +01:00
Estevão Soares dos Santos
7c7f49e8de Merge branch 'develop' 2015-05-13 22:38:32 +01:00
Estevão Soares dos Santos
b80bdce8cf chore(): add test for issue #150 2015-04-27 17:51:32 +01:00
Estevão Soares dos Santos
f8c4c983ea chore(run.js): add issue testing 2015-04-27 17:50:48 +01:00
Estevão Soares dos Santos
fb3e0ba3bc fix(subParsers/hashHTMLBlocks.js): fix rendering problems with html5 block elements.
Some HTML5 block elements were not being properly ignored. This caused problems in rendering markdown as showdown would add additional <br /> to some block elements.
This commit should fix this issue.

Closes #90, closes #140, closes #147
2015-04-23 21:51:32 +01:00
Estevão Soares dos Santos
fd9bb36583 Merge pull request #147 from ErisDS/block-elements
Add missing block elements. Fixes #90
2015-04-22 22:31:11 +01:00
Estevão Soares dos Santos
c06d500a90 Revert "Add missing block elements" 2015-04-22 22:26:05 +01:00
Estevão Soares dos Santos
a01d81bdbd Merge pull request #140 from ErisDS/block-elements
Add missing block elements. fixes #90
2015-04-22 22:25:55 +01:00
Estevão Soares dos Santos
fa5f06bfd8 fix(showdown.js): should fix issue #133 2015-04-22 15:21:15 +01:00
Hannah Wolfe
36daa99339 Add missing block elements
fixes #90
2015-03-16 16:27:16 +00:00
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