Estevão Soares dos Santos
be72b4879f
fix(headerLevelStart): fix for NaN error when specifying a non number as headerLevelStart param
2015-07-13 01:35:36 +01:00
Estevão Soares dos Santos
ba7eb7ebaf
Merge branch 'cli' of https://github.com/rheber/showdown into feature/cli
2015-07-12 02:36:33 +01:00
Estevão Soares dos Santos
67df740b1a
docs(CREDITS.md): update credits
2015-07-12 02:36:24 +01:00
Estevão Soares dos Santos
7e55bceb0e
feat(flavours): add markdown presets/flavors
...
This feature enables users to select a preset/flavor.
A flavor is just a preset of options, a shortcut so users don't have to set each option one by one.
Closes #164
2015-07-12 02:15:35 +01:00
Estevão Soares dos Santos
20ca099f56
chore: add class to tasklist items
2015-07-11 23:09:47 +01:00
Estevão Soares dos Santos
dc72403acc
feat(tasklists): add support for GFM tasklists
...
Github Flavored Markdown supports tasklist by `[x]` or `[ ]` after list item marker.
This commit adds this feature to showdown through an option called "tasklists".
Related to #164
2015-07-11 23:02:02 +01:00
Estevão Soares dos Santos
c33f98884b
feat(ghCodeBlocks): add option to disable GH codeblocks
...
GFM support fenced codeblocks. Showdown, since very early, adopted this too.
It is now possible to disable GFM codeblocks with the option "ghCodeBlocks" set to false.
It is enabled by default
2015-07-11 20:33:11 +01:00
Estevão Soares dos Santos
5ec75c459b
fix(subparsers/tables.js): fix parser order so that tables include all spanGamut elements
2015-07-11 19:50:26 +01:00
Estevão Soares dos Santos
0a3a0df6bf
chore(grunt): fix build task
2015-07-11 19:47:57 +01:00
Estevão Soares dos Santos
a46792350f
chore(grunt): add ability to run single tests that match a pattern
...
to use run `grunt single-test:<pattern>`.
Pattern can be a string or a regex pattern
2015-07-11 19:41:31 +01:00
Estevão Soares dos Santos
09a6578604
chore(grunt): make Grunt use a temporary build to avoid pollution of dist directory
2015-07-11 19:32:22 +01:00
Estevão Soares dos Santos
f9cf0e607f
chore(grunt): add silent mode to grunt
...
Grunt output can be very annoying. This adds the option to quite Grunt with the '-q' flag.
When ran with '-q', grunt will only output dots for each task action ran successfully
and the error message if something goes wrong.
2015-07-11 19:12:04 +01:00
Estevão Soares dos Santos
1c8c928d0a
feat(subParsers/table): support for table alignment
...
Credits to [torcellite (Karthik Balakrishnan)](https://github.com/torcellite )
2015-07-11 18:21:43 +01:00
Estevão Soares dos Santos
3a924e3c7e
feat(tables): add support for GFM tables
...
Github Flavored Markdown supports a specific table syntax. Table support was already available as an extension.
With this commit, the feature was moved to core, adding this feature to showdown through an option called "tables".
Related to #164
2015-07-11 16:44:24 +01:00
Estevão Soares dos Santos
43e9448d6e
feat(strikethrough): add support for GFM strikethrough
...
Github Flavored Markdown supports strikethrough (`<del>`) syntax using double tilde `~~` delimiters.
This commit adds this feature to showdown through an option called "strikethrough".
Related to #164
2015-07-11 15:59:06 +01:00
Estevão Soares dos Santos
0c0cd7db99
feat(literalMidWordUnderscores): add support for GFM literal midword underscores
...
Github Flavored Markdown does not parse underscores in the middle of a word as emphasis/bold.
This commit adds this feature to showdown through an option called "literalMidWordUnderscores".
Related to #164
2015-07-11 15:45:58 +01:00
Estevão Soares dos Santos
cff0237299
feat(simplifiedAutoLink): add support for GFM autolinks
...
Github Flavored Markdown detects urls and mails embeded in the text without any extra markup or delimiter.
This commit adds this feature to showdown through an option called "simplifiedAutoLink".
Related to #164
2015-07-11 02:42:53 +01:00
Estevão Soares dos Santos
1e2bbcfd5c
Merge branch 'master' into develop
2015-07-10 21:00:57 +01:00
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