Commit Graph

260 Commits

Author SHA1 Message Date
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
95ed7c682e fix(extensions): support for old extension loading mechanism 2015-04-23 00:15:54 +01:00
Estevão Soares dos Santos
1efa88d90a Merge pull request #148 from ErisDS/plugin-name-bug
Fix extension name in error always 'undefined'. Fixes #141
2015-04-22 22:33:51 +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
9792ca9008 Merge pull request #149 from showdownjs/revert-140-block-elements
Revert "Add missing block elements"
2015-04-22 22:29:27 +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
7deea25a5e chore(): new build 2015-04-22 16:58:53 +01:00
Estevão Soares dos Santos
a38c76d236 fix(showdown.js): fix showdown extension loader 2015-04-22 16:58:07 +01:00
Estevão Soares dos Santos
9c29f62fb3 chore(Gruntfile.js): fix jscs task 2015-04-22 16:56:31 +01:00
Estevão Soares dos Santos
7232187b56 fix(package.json): fix version in package.json file 2015-04-22 16:40:39 +01:00
Estevão Soares dos Santos
d534870948 rebuild for release 0.5.0 2015-04-22 15:40:57 +01:00
Estevão Soares dos Santos
beb4f8aaf7 Merge branch 'develop' 2015-04-22 15:39:32 +01:00
Estevão Soares dos Santos
02b05a2bde partial(): remove files to prevent weird uppercase lowercase commit differences in windows dev machines 2015-04-22 15:29:58 +01:00
Estevão Soares dos Santos
0e7e1e7dcb fix(): should fix issue #133 2015-04-22 15:28:45 +01:00
Estevão Soares dos Santos
18f2578567 partial(): remove dist files to fix uppercase lowercase issue 2015-04-22 15:27:44 +01:00
Estevão Soares dos Santos
fa5f06bfd8 fix(showdown.js): should fix issue #133 2015-04-22 15:21:15 +01:00
Estevão Soares dos Santos
d996b4438d partial(showdown.js): enabled output modifiers 2015-04-22 14:51:57 +01:00
Estevão Soares dos Santos
b63f602fff Merge pull request #139 from bh-lay/patch-1
Fixed a  bug  word !
2015-04-22 14:26:20 +01:00
Hannah Wolfe
d75e56a8d8 Fix extension name in error always 'undefined' 2015-03-16 19:23:34 +00:00
Hannah Wolfe
36daa99339 Add missing block elements
fixes #90
2015-03-16 16:27:16 +00:00
剧中人
998e0ea6e6 Fixed a bug word ! 2015-03-12 20:42:26 +08:00
Estevão Soares dos Santos
eca8386dbb release 0.4.0 2015-03-01 18:26:04 +00:00
Estevão Soares dos Santos
0fd10cb56a Added new extension registering method 2015-03-01 18:15:32 +00:00
Estevão Soares dos Santos
ba125213ab chore(): remove perl markdown from source 2015-01-20 21:45:37 +00:00
Estevão Soares dos Santos
8ee87ead9f doc(showdown.js): add source documentation for showdown's api 2015-01-19 16:28:14 +00:00
Estevão Soares dos Santos
c528f4a427 chore(changelog): add support to automatically create changelogs 2015-01-19 16:27:28 +00:00
Estevão Soares dos Santos
0e99444bb1 feat(grunt-jscs): add grunt task jscs lint
Now it's possible to enforce code style linting with jscs automatically when testing or building with grunt
2015-01-19 15:43:47 +00:00
Estevão Soares dos Santos
18ba4e756f fix(helpers): fix wrong function call 'escapeCharacters' due to old strayed code 2015-01-19 15:42:20 +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
a79f581094 chore(.jscs.json): fix .jscs.json to match our code-style 2015-01-19 14:54:45 +00:00
Estevão Soares dos Santos
9ad3ac5cc0 chore(): add support for jscs 2015-01-19 14:53:53 +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
29c108d5a5 chore(.editorconfig): add editorconfig 2015-01-19 11:38:05 +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
4a0e05900c chore(jshint): update jshintrc to use strict option 2015-01-18 02:13:20 +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
fafe9c45e7 Merge branch 'master' into develop 2015-01-17 00:28:51 +00:00
Estevão Soares dos Santos
88283602bb Merge pull request #54 from danielquinn/patch-1
extensions should be a list, not a string.
2015-01-17 00:19:03 +00:00
Estevão Soares dos Santos
3c7589d1d0 Merge pull request #47 from teleological/patch-2
Doc fixes
2015-01-17 00:16:57 +00:00
Estevão Soares dos Santos
c9de4b6b1f Revert "feat(allowBlockIndents): Indented inline block elements can be parsed as markdown"
This reverts commit f6326b84e4.
2015-01-17 00:13:12 +00:00
Estevão Soares dos Santos
f6326b84e4 feat(allowBlockIndents): Indented inline block elements can be parsed as markdown
When the text is pulled from indented HTML elements, ex:
```
 <body>
    <div>
        ## Content to be converted
    </div>
 </body>
```
it no longer becomes wrapped in code/pre tags. A new option is also available (allowBlockIndents) that when set to false, reverts to the previous behavior
2015-01-16 23:39:20 +00:00
Estevão Soares dos Santos
f1211ac916 chore(travis): build speedup 2015-01-16 23:09:12 +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
0a8d2836c7 refactor(grunt): Adds support for minification and minified source map. 2015-01-16 21:50:44 +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
394d37983e Fixed test command for travis 2015-01-15 21:29:39 +00:00
Estevão Soares dos Santos
eae5f0e01f Major code refactoring 2015-01-15 21:21:33 +00:00