Commit Graph

524 Commits

Author SHA1 Message Date
Estevão Soares dos Santos
e754668814 Merge branch 'hotfix/#191' into develop 2015-08-23 03:12:43 +01:00
Estevão Soares dos Santos
3df706248f fix(blockGamut): fix for headings inside blockquotes
The spec states that you can be lazy and only put the `>` before the first line of a hard-wrapped paragraph.
It also states that blocquotes can contain any other md element inside.
This means headings and horizontal rules should be included in the blockquote but, right now, are treated as
independent entities

Closes #191
2015-08-23 03:11:11 +01:00
Estevão Soares dos Santos
b6c8b497db docs(lists.js): fix missing jsdoc parameter 2015-08-23 02:46:04 +01:00
Estevão Soares dos Santos
636fd5959d docs(converter.js): fix return type of Converter function 2015-08-23 02:21:00 +01:00
Estevão Soares dos Santos
7dc3fb1d25 fix(simpleAutoLinks): fix emails being treated as simple urls
Closes #187
2015-08-11 05:58:54 +01:00
Steve Mao
22e3d644e1 feat(release): use grunt-conventional-github-releaser
You need to set environment variable `GH_TOKEN` as your github token and make sure you run it after you have pushed your tag.
2015-08-11 11:39:51 +10:00
Steve Mao
247176d283 chore(deps): bump grunt-conventional-changelog
There are a ton of bug fixes and nice new features.
2015-08-11 11:38:29 +10:00
Estevão Soares dos Santos
cb0509b4a2 fix test 2015-08-03 03:49:03 +01:00
Estevão Soares dos Santos
2734326e19 feat(eventDispatcher): add an event dispatcher to converter 2015-08-03 03:47:49 +01:00
Estevão Soares dos Santos
ea6031a25f release 1.2.2 2015-08-02 16:09:04 +01:00
Estevão Soares dos Santos
7720c88bfc fix(lists): fix github code blocks not being parsed inside lists
Fix ghCodeBlocks not being correctly parsed inside lists. Also, as a side
effect, fixes issues with consecutive lists and extra paragraphs being
added into lists.

Closes #142, Closes #183, Closes #184
2015-08-01 21:05:28 +01:00
Estevão Soares dos Santos
086c41de54 release 1.2.1 2015-07-22 18:47:51 +01:00
Estevão Soares dos Santos
eeccee7038 Merge branch 'develop' 2015-07-22 18:29:00 +01:00
Estevão Soares dos Santos
7d0a1813f8 Merge branch 'master' into develop 2015-07-22 18:28:10 +01:00
Estevão Soares dos Santos
f3d74fe65c Merge pull request #181 from showdownjs/tivie-patch-2
feat(subParser/tables.js): add support for md span elements in table headers

Closes #179
2015-07-22 18:26:58 +01:00
Estevão Soares dos Santos
789dc1806a feat(subParser/tables.js): add support for md span elements in table headers
+ tests

Closes #179
2015-07-22 18:21:20 +01:00
Estevão Soares dos Santos
bf4798a728 docs(README.md): fix typo 2015-07-21 21:01:47 +01:00
Estevão Soares dos Santos
a3b5946ec9 docs(README.md): change table example 2015-07-21 13:42:15 +01:00
Estevão Soares dos Santos
1ebb08484d docs(README.md): add examples to image dimensions 2015-07-16 20:55:55 +01:00
Estevão Soares dos Santos
107bdb7b2f Update README.md 2015-07-15 11:15:39 +01:00
Estevão Soares dos Santos
932610839f Merge pull request #176 from dipskakadiya/master
Updated readme.md
2015-07-15 11:09:40 +01:00
Dipesh
e5f886b670 Updated readme.md
in Example of Setting options -> Locally, While creating showdown.Converter object closing '}' is missing
2015-07-15 11:45:54 +05:30
Estevão Soares dos Santos
b88bdbedc8 docs(README.md): add reference to option smoothLivePreview 2015-07-14 21:47:02 +01:00
Estevão Soares dos Santos
358613ad54 Merge pull request #175 from tivie/master
Several fixes for bugs found against ghost testcase
2015-07-14 21:44:29 +01:00
Estevão Soares dos Santos
9ab2af0e89 build 2015-07-14 21:17:27 +01:00
Estevão Soares dos Santos
bf8b3649ad test(ghost): ignore footnotes test
Ignore footnotes tests since we don't have this feature in showdown
2015-07-14 21:10:00 +01:00
Estevão Soares dos Santos
534c53616a test: add ghost issues tests 2015-07-14 20:53:28 +01:00
Estevão Soares dos Santos
5d0ec964e4 test: add test for autolink literalMidWordUnderscores options used together 2015-07-14 20:52:56 +01:00
Estevão Soares dos Santos
c9e85f1294 fix(subParsers/italicsAndBold): fix underscores not being correctly parsed when used in conjunction with literalMidWordsUnderscores option 2015-07-14 20:51:22 +01:00
Estevão Soares dos Santos
542194e916 fix(subParsers/images): fix alt attribute not being escaped correctly 2015-07-14 20:49:46 +01:00
Estevão Soares dos Santos
5f043ca46d fix(subParsers/codeSpans): Fix issue with code html tags not being correctly escaped 2015-07-14 20:49:04 +01:00
Hannah Wolfe
220b85d722 Merge ErinDS broken stuff tests 2015-07-14 18:53:17 +01:00
Estevão Soares dos Santos
62ba3733cd feat(smoothLivePreview): fix weird effects due to parsing incomplete input 2015-07-14 17:10:52 +01:00
Estevão Soares dos Santos
7ee2017c56 fix(subParsers/italicsAndBold.js): fix broken em/strong tags when used with literalMidWordUnderscores
When literalMidWordUnderscoresis set to true, em and strong tags that start or end a paragraph don't get parsed as such.
This fixes this issue.

Closes #174
2015-07-14 16:51:26 +01:00
Estevão Soares dos Santos
47f3bbd2c6 docs(README.md): add live demo 2015-07-14 03:34:37 +01:00
Estevão Soares dos Santos
b7f5e32e1a feat(subParsers/githubCodeBlock): add extra language class to conform to html5 spec 2015-07-14 00:41:59 +01:00
Estevão Soares dos Santos
6176977558 fix(subParser/tables): fix undefined error in malformed tables
Cannot read property 'trim' of undefined happens when the parser is fed a malformed table.
This happens in live previews (for instance, when using Angularjs).
2015-07-14 00:37:53 +01:00
Estevão Soares dos Santos
c013e7577c docs(README.md): update docs to match new version 2015-07-13 21:35:18 +01:00
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