Commit graph

40 commits

Author SHA1 Message Date
David Anson
ddf5784289 Add missing parens to demo page script after recent updates to micromark extension exports. 2023-07-03 19:42:38 +00:00
David Anson
2a19681b93 Update web demo page to use micromark renderer for converting Markdown to HTML by default, allow specifying markdown-it renderer instead. 2023-05-28 12:57:50 -07:00
David Anson
d9818ce3b4 Convert from FileReader.readAsText() to Blob.text() in demo page per new eslint-plugin-unicorn rule. 2023-05-07 20:59:54 -07:00
David Anson
32d4fc8232 Trivial code move in demo web page for consistency. 2022-12-29 18:12:48 -08:00
David Anson
5684685d5b Update markdownlint-browser.(min.)js to export library and helpers objects (near-zero effect on file size), do not output markdownlint-rule-helpers-browser.(min.)js any more, update demo web page accordingly. 2022-12-29 00:44:29 +00:00
David Anson
13b4340747 Update all links to rules to use md000.md instead of Rules.md#md000 (shorter, quicker, less distraction). 2022-10-30 14:58:45 -07:00
David Anson
9310713da1 Make resultVersion 3 (report multiple errors per line, include fixInfo) the default. 2022-04-21 21:30:56 -07:00
David Anson
77217ce33e Update browser demo to fix all errors when shift-clicking the "Fix" link. 2021-02-06 15:55:21 -08:00
David Anson
87b3b1d7e4 Update list of deprecated rules in web demonstration text. 2021-01-08 21:42:24 -08:00
David Anson
369b0b5934 Replace browserify/uglify-js with webpack, shrink markdownlint-browser.js (fixes #362). 2021-01-05 20:55:09 -08:00
Nick Schonning
0c309c63c1
chore: Use ESLint overrides for config (#348) 2020-12-07 21:17:14 -08:00
David Anson
47d82d6fd4 Add library version to demo page header. 2020-11-14 16:42:18 -08:00
David Anson
3f637ba8e5 Add ability to fix issues with markdownlint demo page, refactor slightly. 2020-09-15 21:15:35 -07:00
David Anson
5ab938a6ab Add lint rules from eslint-plugin-unicorn. 2020-09-06 20:34:10 -07:00
David Anson
0acc578e52 Update remaining references to refer to main branch as "main". 2020-08-11 22:52:29 -07:00
David Anson
214ecb5fb4 Add fallback for demo "Copy Link" functionality on browsers that do not support navigator.clipboard. 2020-04-09 20:35:32 -07:00
David Anson
74af9f82fb Enable jsdoc/require-jsdoc rule, fix all violations (fixes #85). 2020-01-23 19:42:46 -08:00
David Anson
517fc61424 Set options.handleRuleFailures=true in demo page for easier diagnostics. 2019-05-18 13:29:32 -07:00
David Anson
3960a4a26d Minor updates for MD047 and to remove a reference to io.js. 2019-05-06 22:00:38 -07:00
David Anson
827e1acb56 Add "Copy Link" link to demo, restore sample text from URL hash if present. 2019-04-02 22:07:32 -07:00
David Anson
7aadb1124e Add legacy browser detection to demo, tweak sample text. 2019-04-01 22:08:53 -07:00
David Anson
ec35833751 Update dependencies: @types/node to 11.12.0, eslint to 5.15.3, js-yaml to 3.13.0, typescript to 3.3.4000, uglify-js to 3.5.2. 2019-03-30 14:36:04 -07:00
David Anson
90bd0810e7 Update copyright year to 2019, all HTTP links to HTTPS. 2019-02-10 11:38:01 -08:00
David Anson
c0ea22e55e Update to version 0.7.0. 2018-01-22 20:54:26 -08:00
David Anson
54c28f47c3 Merge rule name/alias in rule definitions and results (for resultVersion 2). 2018-01-12 23:21:06 -08:00
David Anson
975129671e Update dependencies: browserify to 14.5.0, eslint to 4.10.0, nodeunit to 0.11.2, q to 1.5.1, rimraf to 2.6.2, uglify-js to 3.1.8. 2017-11-07 22:00:53 -08:00
David Anson
0211abf1ba Update dependencies: browserify to 14.4.0, eslint to 4.2.0, nodeunit to 0.11.1, uglify-js to 3.0.25. 2017-07-17 22:23:00 -07:00
David Anson
8c34383f80 Change default value of options.resultVersion to 1 (breaking change). 2017-07-05 21:53:21 -07:00
David Anson
0e8cb8f0dd Update Ruby markdownlint URLs from "mivok" to "markdownlint" after transition. 2017-06-18 15:49:33 -07:00
David Anson
dcf0462c22 Add regular expressions from vscode-markdownlint for error range in results. 2016-10-31 22:53:46 -07:00
David Anson
0ca8bc7bb6 Add options.resultVersion for more detailed error reporting (fixes #23). 2016-10-23 21:30:31 -07:00
David Anson
624ae4952b Add mention of CommonMark to project description (fixes #15). 2016-03-11 21:36:39 -08:00
David Anson
89a7013fc2 Sanitize content of "source with lines" box of sample web app. 2016-02-12 22:30:33 -08:00
David Anson
7af794bb21 Update eslint dependency to 1.5.1, update code for new rules. 2015-09-26 22:22:22 -07:00
David Anson
31141cc3ed Add support for disabling/enabling rules within Markdown content (fixes #5). 2015-09-26 16:55:33 -07:00
David Anson
b7f8a52899 Convert from innerText to textContent (W3C standard). 2015-05-08 09:27:25 -07:00
David Anson
661073b249 Add introductory text to demo, default all links to target=_blank. 2015-05-07 17:53:47 -07:00
David Anson
8aa3ee66e4 Styling tweaks. 2015-05-07 17:53:46 -07:00
David Anson
a8f5a19cba Add clickable links for violations and rules, highlight for violations. 2015-05-07 17:53:43 -07:00
David Anson
dce6024e16 Add interactive demo page to show how markdownlint handles user content. 2015-05-07 17:52:23 -07:00