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
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