Commit Graph

762 Commits

Author SHA1 Message Date
Estevão Soares dos Santos
91e7b95796 chore: several small build enhancements
+ build
2015-07-10 21:00:21 +01:00
Estevão Soares dos Santos
5aae53f773 Merge pull request #166 from schmijos/patch-2
docs(README.md): add typescript info
2015-07-10 14:13:42 +01:00
Estevão Soares dos Santos
0367a56711 Merge pull request #165 from schmijos/patch-1
docs(README.md): necessary to install all the dev dependencies recursively
2015-07-10 14:13:04 +01:00
Estevão Soares dos Santos
1984e9f034 Merge pull request #172 from SergioCrisostomo/patch-1
docs(README.md): fix typo
2015-07-09 16:52:49 +01:00
Sergio Crisostomo
b921a063ae fix typo
fix typo `conveter` to `converter`
2015-07-09 12:03:38 +02:00
Estevão Soares dos Santos
3f90ebb7fb docs(README.md): fix typo 2015-07-07 10:48:39 +01:00
Estevão Soares dos Santos
35fcd2cc6c docs(README.md): add reference to wiki in the docs 2015-07-07 10:47:38 +01:00
Estevão Soares dos Santos
407148e716 docs(README.md): add chrome as tested browser
Closes #168
2015-07-03 13:57:05 +01:00
Josua Schmid
5106f6f928 Update README.md
Added information about TypeScript types.
2015-06-23 11:13:22 +02:00
Josua Schmid
037fcb14de Update Readme
It's not necessary to install all the dev dependencies recursively. This could go into the GBs.
2015-06-23 10:16:16 +02:00
Estevão Soares dos Santos
5a4ae79c54 Release 1.1.0 2015-06-18 01:22:42 +01:00
Estevão Soares dos Santos
b84ac67dac feat(headerLevelStart): add support for setting the header starting level
Closes #69
2015-06-17 02:19:44 +01:00
Estevão Soares dos Santos
b49d93480b tests: test case for issue #96 2015-06-17 01:45:33 +01:00
Estevão Soares dos Santos
1d149c8806 chore: fix jshint 2015-06-17 01:26:50 +01:00
Estevão Soares dos Santos
af82c2b616 feat(image dimensions): add support for setting image dimensions within markdown syntax
This feature allows users to define the image dimensions using markdown syntax:
```
![my image](img.jpg =100x80 "image title")
```
To enable this feature, use the option `parseImgDimensions`.

Closes #143
2015-06-17 01:22:05 +01:00
Estevão Soares dos Santos
0ac8972da1 build 2015-06-15 14:56:47 +01:00
Estevão Soares dos Santos
c17842f7b6 tests(showdown.getDefaultOptions()): add tests for showdow.getDefaultOptions() 2015-06-15 14:56:30 +01:00
Estevão Soares dos Santos
5140a0cae5 chore(Grunt): make grunt test only run node tests 2015-06-15 14:55:37 +01:00
Estevão Soares dos Santos
2de53a7d03 feat(showdown.getDefaultOptions): add method to retrieve default global options key->values
Showdown default options are now retrievable through `showdown.getDefaultOptions()` function
2015-06-15 14:49:26 +01:00
Estevao Soares dos Santos
27ed758d7b chore: add CONTRIBUTING.md 2015-06-13 19:16:02 +01:00
Estevao Soares dos Santos
e18fa3c260 Merge branch 'hotfix/issue_142' into develop 2015-06-13 14:59:44 +01:00
Estevao Soares dos Santos
0bdd02b2cc fix(subParsers/lists.js): partial fix for odd behavior on multiple consecutive lists
Consecutive lists we're previously being condensed into one unique list, with odd paragraph output.
This fix correctly splits lists, but does not change the weird paragraph output

closes #142
2015-06-13 14:59:14 +01:00
Estevao Soares dos Santos
947c9b7c3b Merge branch 'develop' of https://github.com/showdownjs/showdown into develop 2015-06-11 15:57:03 +01:00
Estevao Soares dos Santos
00db9d1c09 Merge branch 'develop' into hotfix/issue_142 2015-06-11 01:33:55 +01:00
Estevao Soares dos Santos
42240ba82c test: add karlcow's testsuite
Also refactor tests to improve maintainability
2015-06-11 01:29:42 +01:00
Estevão Soares dos Santos
6f01208836 chore(subParsers/images): fix jshint error
Quick fix for jshint error that was preventing Travis to test the lib properly
2015-06-10 14:09:59 +01:00
Estevao Soares dos Santos
9a2411b05f fix(subParsers/stripLinkDefinitions): fix title attribute in link definitions
According to spec, the title attribute in link definitions can be wrapped in single quotes. Previously, showdown didn't support this.
Now the title attribute can be wrapped in single quotes.
2015-06-08 04:16:58 +01:00
Estevao Soares dos Santos
307d135e0a tests(images): fix standard testsuite images test 2015-06-08 03:59:40 +01:00
Estevao Soares dos Santos
e27e16bdc5 fix(subParsers/images.js): fix empty title attribute in img tags
This big was introduced on purpose to mimic markdown.pl. Since we no longer match our development with that library,
it makes no sense to keep it.
2015-06-08 03:57:18 +01:00
Estevao Soares dos Santos
3a71b66d24 fix(subParsers/headers); fix bug introduced with noHeaderId option 2015-06-08 03:51:43 +01:00
Estevao Soares dos Santos
7ac893e93b feat(noHeaderId): add option to suppress automatic generation of ids in headers
Passing the option `noHeaderId; true` to showdown or showdown converter removes the automatic generation of header ids
2015-06-08 03:41:14 +01:00
Estevao Soares dos Santos
6cbc585fc0 tests(issue_142): add tests for issue #142 2015-06-08 02:40:33 +01:00
Estevao Soares dos Santos
dcbdc61e9d fix(output modifiers): fix for output modifiers running twice
Output modifiers were being ran twice. This commit fixes that
2015-06-07 19:17:02 +01:00
Estevao Soares dos Santos
4ebd0caa27 feature(extensionLoading): add support to legacy extensions in the new extension mechanism
Old extensions that register themselves in `showdown.extensions` can be loaded and validated using the new extension loading mechanism.
However, a warn is issued, alerting users and developers that the extension should be updated to use the new mechanism

BREAKING CHANGE: Deprecates `showdown.extensions` property. To migrate, you should use the new method `showdown.extension(<ext name>, <extension>)` to register the extension.
2015-06-07 19:02:45 +01:00
Stefano Brilli
db46922e19 New build 2015-06-07 13:16:47 +02:00
Stefano Brilli
b63baee9f5 Fix the bug by removing duplicated codeblock
See src/subParsers/outputModifiers.js
2015-06-07 13:15:40 +02:00
Stefano Brilli
da598d64e4 Add test to reproduce the bug 2015-06-07 13:15:18 +02:00
Estevao Soares dos Santos
e7cb15f1e9 style(converter.js): fix missing semi colon 2015-06-03 02:50:57 +01:00
Estevao Soares dos Santos
d86ed450a8 fix(converter.js): add error if the passed argument is not an object 2015-06-03 01:29:44 +01:00
Estevão Soares dos Santos
33f64f60c9 feature(extensionLoading): refactor extension loading mechanism 2015-05-31 20:56:28 +01:00
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
fec5b8e219 chore(Gruntfile.js): use grunt-load-tasks to load tasks
Also add spaces between sections to improve readability
2015-05-31 18:45:33 +01:00
Estevão Soares dos Santos
f2f01fb65c chore(package.json): bump minor version and add load-grunt-tasks and sinon to dev dependencies 2015-05-31 18:43:31 +01:00
Estevão Soares dos Santos
678348d060 chore(helpers.js): add console polyfill so we can trigger warnings reliably 2015-05-31 13:08:15 +01:00
Estevão Soares dos Santos
f8a81373fe build(.editorconfig): fix editorconfig 2015-05-31 13:06:42 +01:00
Estevão Soares dos Santos
86353c1ee8 docs(README.md): add link to XSS Vulnerability wiki page 2015-05-30 00:13:47 +01:00
Estevão Soares dos Santos
40bdf1488c Merge branch 'master' into develop 2015-05-30 00:10:46 +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
06ad6c2e05 docs(README.md): add mention to XSS vulnerability 2015-05-29 22:20:50 +01:00