Chris Manson
fcbccd6448
test(commonmark): Add updated CommonMark Tests ( #918 )
...
* add grunt task to extract commonmark tests
* update commonmark tests
* fix test bootstrap for commonmark tests
* uncomment out the commonmark tests
2022-04-27 21:35:06 +01:00
Estevão Soares dos Santos
9a3e714b2c
test: implement karma and browserstack tests
2022-03-27 00:05:30 +00:00
Estevao Soares dos Santos
df76f984a3
chore: add test for repeat helper
...
Several test cleanups and minor test fixes
2022-03-10 12:56:34 +00:00
Estevao Soares dos Santos
c3411a567d
fix(cli): cli now works properly
...
The CLI was completely rewrote. Changed dependency from yargs to
commanderjs,
which is cleaner, faster and has no dependencies.
Also added a complete testsuite for the cli.
Merged branch 'cli_refactor' into develop
Closes #893 , #894
2022-03-03 12:48:23 +00:00
Estevao Soares dos Santos
e24d06e265
Merge branch 'master' into develop
...
# Conflicts:
# Gruntfile.js
# dist/showdown.js
# dist/showdown.js.map
# dist/showdown.min.js
# dist/showdown.min.js.map
# package-lock.json
# package.json
# src/converter.js
# src/subParsers/makehtml/tables.js
2022-02-23 19:15:46 +00:00
Estevao Soares dos Santos
d23b028bb3
chore: update dev dependencies and fix code style
2022-02-23 05:04:55 +00:00
SyntaxRules
3d5391e96a
chore(deps): update all dependecies to the latest; make eslint work
2021-11-09 22:40:28 -07:00
Estevao Soares dos Santos
798bbe6751
refactor: change anchor subparser name to link
2018-09-23 20:34:54 +01:00
Estevao Soares dos Santos
358947bd29
feat(makeMarkdown): convert HTML to MD
...
This feature enables convertion of HTML into MD.
2018-07-07 19:05:16 +01:00
Estevao Soares dos Santos
19d2e9f9d4
test: testsuite refactoring
2017-12-22 15:28:41 +00:00
Estevao Soares dos Santos
3db9200d2c
refactor(subParsers): change name and directory of subparsers
...
BREAKING CHANGE: makeHtml subparsers names changed, by prepending 'makehtml.' to them.
Example: 'anchors', subparser is now named 'makehtml.anchors'.
Event names were also changed to reflect this.
Example: 'anchors.before' is now named 'makehtml.anchors.before'.
**To migrate:**
If you have a listener extension, replace the old event name with the new one. Example:
Replace this
```js
showdown.extension('myext', function() {
return [{
type: 'listener',
listeners: {
'anchors.before': function (event, text, converter, options, globals) {
//... some code
return text;
}
}];
});
```
with this
```js
showdown.extension('myext', function() {
return [{
type: 'listener',
listeners: {
'makehtml.anchors.before': function (event, text, converter, options, globals) {
//... some code
return text;
}
}];
});
```
2017-12-16 18:25:44 +00:00
Estevao Soares dos Santos
dedf130806
release v1.7.3
2017-08-23 22:56:30 +01:00
Estevão Soares dos Santos
c6ac36d9f2
test(appveyor): add appveyor testing
...
Add testing on windows environment
2017-03-05 05:08:52 +00:00
greenkeeper[bot]
b5e46fdb8d
Update dependencies to enable Greenkeeper 🌴 ( #335 )
...
adapt code to updated dependencies
2017-01-31 05:46:25 +00:00
Estevao Soares dos Santos
43ff0b643e
test: add performance tests
2016-12-23 09:29:58 +00:00
Estevao Soares dos Santos
8cd79e1344
chore(travis): update node versions
2016-09-29 00:20:30 +01:00
Estevão Soares dos Santos
e928622664
chore: add grunt task to add newline to end of built files
...
Closes #202
2015-10-14 21:44:19 +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
9ab2af0e89
build
2015-07-14 21:17:27 +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
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
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
91e7b95796
chore: several small build enhancements
...
+ build
2015-07-10 21:00:21 +01:00
Estevão Soares dos Santos
1d149c8806
chore: fix jshint
2015-06-17 01:26:50 +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
Estevao Soares dos Santos
42240ba82c
test: add karlcow's testsuite
...
Also refactor tests to improve maintainability
2015-06-11 01:29:42 +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
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
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
Alexandre Courtiol
53155088cb
fix(build): add missing comma in footer
2015-05-28 13:50:57 +02:00
Estevão Soares dos Santos
1c80fcc2cf
chore(grunt): add bump grunt taks
2015-05-27 02:21:36 +01:00
Estevão Soares dos Santos
a4e67a0ee7
chore(grunt): add prep-release task
2015-05-23 02:07:19 +01:00
Estevão Soares dos Santos
f93c4956af
Preparing 1.0.0-alpha1 release
2015-05-14 01:59:33 +01:00
Estevão Soares dos Santos
9c29f62fb3
chore(Gruntfile.js): fix jscs task
2015-04-22 16:56:31 +01:00
Estevão Soares dos Santos
c528f4a427
chore(changelog): add support to automatically create changelogs
2015-01-19 16:27:28 +00:00
Estevão Soares dos Santos
0e99444bb1
feat(grunt-jscs): add grunt task jscs lint
...
Now it's possible to enforce code style linting with jscs automatically when testing or building with grunt
2015-01-19 15:43:47 +00:00
Estevão Soares dos Santos
8b000b134a
chore(all): code style change
2015-01-19 11:37:21 +00:00
Estevão Soares dos Santos
0a8d2836c7
refactor(grunt): Adds support for minification and minified source map.
2015-01-16 21:50:44 +00:00
Estevão Soares dos Santos
bf094ba446
test(): browser and node tests now live in different directories
...
This enables one to run the appropriate tests according to evironment
2015-01-16 21:48:28 +00:00
Estevão Soares dos Santos
394d37983e
Fixed test command for travis
2015-01-15 21:29:39 +00:00
Estevão Soares dos Santos
eae5f0e01f
Major code refactoring
2015-01-15 21:21:33 +00:00
Estevão Soares dos Santos
22d85ae575
Preparing new release
2015-01-04 21:27:45 +00:00