Estevão Soares dos Santos
4fbbf77375
release 1.2.0
2015-07-13 21:02:53 +01:00
Estevão Soares dos Santos
cf2d1151e9
rollback(tests): cannot make cli tests run on travis
...
Cli tests are passing on localhost, but fail on travis due to reasons unknown.
Disabling them for now until we figure it out.
2015-07-13 05:46:06 +01:00
Estevão Soares dos Santos
d8111d1791
test(cli): run cli tests only on node >= 0.12
2015-07-13 05:39:05 +01:00
Estevão Soares dos Santos
1a764b0280
test(cli): fix tests for running in .travis
2015-07-13 05:21:23 +01:00
Estevão Soares dos Santos
d079154260
Merge branch 'feature/cli' into develop
...
Conflicts:
.gitignore
src/subParsers/headers.js
2015-07-13 05:16:09 +01:00
Estevão Soares dos Santos
f6a33e402c
feat(CLI): add a simple cli tool
2015-07-13 05:09:03 +01:00
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