Commit Graph

351 Commits

Author SHA1 Message Date
Tony Brix
f8024eb24d
remove ending slash
Co-authored-by: Steven <steven@ceriously.com>
2020-07-13 13:07:46 -05:00
Tony Brix
524ae66ba6
remove ending slash
Co-authored-by: Steven <steven@ceriously.com>
2020-07-13 13:07:30 -05:00
flouc001
710658cb61 use options param, update docs, update tests 2020-07-12 19:38:37 +01:00
flouc001
2290f677c9 update docs 2020-07-11 09:36:24 +01:00
Tony Brix
a761316b31
Merge pull request #1726 from UziTech/show-rules
Add `npm run rules`
2020-07-09 16:36:18 -05:00
Tony Brix
f8193eda1a add npm run rules 2020-07-09 12:16:43 -05:00
Vas Sudanagunta
2a847e67db
clarify level of support for Markdown flavors
fixes #1718
2020-07-06 16:47:39 -04:00
Tony Brix
2c4b996af7 more quickref.md fixes 2020-06-24 14:34:03 -05:00
Tony Brix
b198b55eb0
Merge pull request #1712 from UziTech/hash-hash
decode hash in docs
2020-06-19 20:27:23 -05:00
Tony Brix
835f3a12f1 decode hash 2020-06-19 10:31:53 -05:00
Tony Brix
1b3125b76f add favicon to docs 2020-06-16 11:06:38 -05:00
Hugh Secker-Walker
e516463b7e
Update smiley image url 2020-05-19 09:52:15 -04:00
Hugh Secker-Walker
e210c87ec3
chore(fix): Fix some problems with demo quickref 2020-05-19 07:24:02 -04:00
Tony Brix
acc84eb6a0 add walkTokens to docs 2020-05-12 19:57:28 -05:00
Steven
0a57e47d11
Merge pull request #1652 from UziTech/codespan-newline
Codespan newline
2020-05-03 15:19:53 -04:00
Tony Brix
bf672bb521 add tokenizer to option docs 2020-05-02 23:59:33 -05:00
Tony Brix
9721105c3f update docs 2020-04-23 23:36:54 -05:00
Tony Brix
d5de6af1f6 add marked.use section to docs 2020-04-20 10:50:09 -05:00
Tony Brix
1050460737
Fix docs 2020-04-19 01:38:41 -05:00
Tony Brix
07f2b334f0 return false to use last renderer/tokenizer 2020-04-19 01:08:54 -05:00
Tony Brix
07510c9301 update docs with marked.use 2020-04-19 00:38:19 -05:00
Tony Brix
b767ede031 Merge branch 'tokenizer' of https://github.com/UziTech/marked into tokenizer 2020-04-15 00:04:09 -05:00
Tony Brix
dfbb0161f8 fix docs 2020-04-15 00:02:18 -05:00
Tony Brix
4aecab365e
Update docs/USING_PRO.md
Co-Authored-By: Steven <steven@ceriously.com>
2020-04-14 19:52:44 -05:00
Tony Brix
dd8e549087 add mangle smartypants examples 2020-04-14 16:53:06 -05:00
Tony Brix
0f0586094b fix example 2020-04-14 16:43:02 -05:00
Tony Brix
1f5a621dab spelling 2020-04-14 16:40:39 -05:00
Tony Brix
4117ba271f move smartypants, mangle, and rules to lexer 2020-04-14 16:40:06 -05:00
Tony Brix
451101aa36 Merge pull request #1636 from Scrum/master
fix: Intra-word emphasis can match the wrong asterisks
2020-04-14 14:31:40 -05:00
Tony Brix
4947ce5078 only send needed variables to tokenizer 2020-04-14 13:29:51 -05:00
Tony Brix
ab033f27f3 remove tokenList 2020-04-08 23:57:18 -05:00
Tony Brix
be697ff89f fix duplicate array 2020-04-08 23:52:39 -05:00
Tony Brix
808d52e047 fix demo tokens 2020-04-08 23:46:46 -05:00
Tony Brix
f5d67a5ea3 fix typo 2020-04-08 13:06:13 -05:00
Tony Brix
b63156f938 update docs 2020-04-08 13:04:38 -05:00
Tony Brix
77838e708e update docs 2020-04-02 01:05:04 -05:00
Tony Brix
6475318eef show items in lexer data 2020-04-02 00:34:08 -05:00
Tony Brix
a82d1c6077 update docs 2020-04-02 00:24:21 -05:00
Julien Chaumond
9f2c0d16ee
Update docs/USING_ADVANCED.md 2020-03-18 22:28:21 -04:00
Julien Chaumond
885d728a72
Update docs/USING_ADVANCED.md
Co-Authored-By: Steven <steven@ceriously.com>
2020-03-18 22:25:53 -04:00
Julien Chaumond
4e3d20db6a
Remove inaccurate proposition on GitHub
GitHub does not, in fact, appear to break on a single line.
2020-03-17 13:56:37 -04:00
Pete Gonzalez
6472717eaa Improve example for invoking highlight.js 2020-02-13 13:46:46 -08:00
Tony Brix
32d61f4668 update docs 2019-11-06 16:03:39 -06:00
Tony Brix
4ddbe81c56 fix spelling 2019-11-06 15:36:22 -06:00
Tony Brix
3dff1e4725 fix eslint config 2019-11-05 15:31:11 -06:00
EdwardHoward
2eb2fb4824
Fix typo in USING_ADVANCED.md 2019-10-03 17:50:39 -06:00
Steven
faf56e5bac
Merge pull request #1552 from vmlaguna/patch-1
Typo: Fix link to USING_PRO.md
2019-10-01 09:24:11 -04:00
Pedro Laguna
2a34dd732e
Update docs/USING_ADVANCED.md
Co-Authored-By: Steven <steven@ceriously.com>
2019-10-01 08:14:11 +01:00
Tony Brix
a339faed1c
Node worker threads are stable 2019-09-25 20:19:01 -05:00
Pedro Laguna
572a46d567
Typo: Fix link to USING_PRO.md
Link can't be relative so hardcoding the official documentation website.
2019-09-24 13:47:53 +01:00
Tony Brix
46e3b17dde update eslint config to fix new standards 2019-08-27 13:22:54 -05:00
Josh Bruce
72410a80de
Merge pull request #1521 from UziTech/es6-docs
update examples with es6+
2019-07-14 16:16:51 -07:00
Tony Brix
e3bb190265 update examples with es6+ 2019-07-08 09:13:53 -05:00
Tony Brix
c0db64bcf8 lint 2019-07-02 16:28:32 -05:00
Tony Brix
1f4c17fa8a
Merge branch 'master' into spec-options 2019-07-02 09:36:05 -05:00
Tony Brix
2a1bbeda57
Sanitize hardening (#1504)
Sanitize hardening

Co-authored-by: Tony Brix <tony@brix.ninja>
2019-07-02 09:33:53 -05:00
Tony Brix
44dbeeb31e remove tables option 2019-07-02 00:23:57 -05:00
KT
63fd313a55 fix insane's URL 2019-06-29 01:43:18 +02:00
KT
44da69e30d recommend more variety of sanitize libraries 2019-06-28 21:28:15 +02:00
Tony Brix
c86d2423fd
update test descriptions in CONTRIBUTING.md 2019-06-28 10:32:09 -05:00
KT
0c38172e31 add sanitize deprecation warnings to docs 2019-06-27 01:25:55 +02:00
Tony Brix
411fcfe9ce
Update supported spec versions 2019-05-23 15:13:46 -05:00
Tony Brix
1a1dd43ab1 space-before-function-paren never 2019-05-03 20:59:44 -05:00
Tony Brix
bc835ae99e simplify eslint config 2019-05-03 20:59:44 -05:00
Tony Brix
d9f22d2726 separate eslint config 2019-05-03 20:59:43 -05:00
Josh Bruce
c99e69b406
Merge pull request #1432 from UziTech/worker-docs
add docs for workers
2019-05-03 15:23:26 -07:00
Steven
0d1f92392b
relative markedWorker.js
Co-Authored-By: UziTech <tony@brix.ninja>
2019-04-26 20:28:05 -05:00
Tony Brix
47ee968969 use .js for web worker 2019-04-26 12:41:57 -05:00
Tony Brix
62ae637ef2 add web worker note 2019-04-26 12:34:55 -05:00
Tony Brix
801a7b4388 add node experimental warning 2019-04-26 12:30:50 -05:00
Tony Brix
e493b75bf2 use const 2019-04-25 16:22:24 -05:00
Tony Brix
64716578e6 clearTimeout first 2019-04-25 16:20:21 -05:00
Tony Brix
431da38397 terminate on success 2019-04-25 16:16:56 -05:00
Tony Brix
9d2c93e500 fix marked version 2019-04-03 16:47:30 -05:00
Tony Brix
f88029a19b use latest commit hash 2019-04-01 09:08:42 -05:00
Tony Brix
d4eb3f81b6 use @master 2019-03-29 13:02:04 -05:00
x13machine
7de5376276
Update list item documentation 2019-03-08 17:28:01 -06:00
x13machine
d6892535b3 fix misspelling in CONTRIBUTING.md 2019-03-08 13:16:12 -06:00
Tony Brix
888a610a2f
terminate it 2019-03-02 23:55:07 -06:00
Steven
6d37c182e2
Update docs/USING_ADVANCED.md
Co-Authored-By: UziTech <tony@brix.ninja>
2019-03-02 15:05:20 -06:00
Steven
b551b8809c
Update docs/USING_ADVANCED.md
Co-Authored-By: UziTech <tony@brix.ninja>
2019-03-02 15:05:08 -06:00
Steven
bc812ccaf1
Update docs/USING_ADVANCED.md
Co-Authored-By: UziTech <tony@brix.ninja>
2019-03-02 15:04:28 -06:00
Tony Brix
3ab43e460c add docs for workers 2019-03-01 16:55:01 -06:00
Steve Moser
e1605cbc0f
Remove --save option as it isn't required anymore 2019-02-18 17:36:45 -05:00
Tony Brix
40ad6f1ab3
Merge branch 'master' into version-worker 2019-02-17 14:54:20 -06:00
Tony Brix
bf0399b03b
Merge pull request #1415 from remyhunt/enhancement-1406-demo-version
Add select option in demo mode to choose Marked version
2019-02-17 14:53:20 -06:00
Tony Brix
14da71c5cb clean up more code 2019-02-14 11:52:14 -06:00
Tony Brix
40d65e5582 add loading screen 2019-02-14 11:25:01 -06:00
Tony Brix
5e2d77378c fix startup 2019-02-14 11:18:47 -06:00
Tony Brix
f8d2413a08 clean up code 2019-02-14 11:15:42 -06:00
Tony Brix
a6f7609438 add pr 2019-02-14 10:43:03 -06:00
Tony Brix
a00ae47f3a use worker in ie11 2019-02-14 09:19:14 -06:00
Tony Brix
2cbda35f9d set title to press enter 2019-02-14 00:15:09 -06:00
Tony Brix
862ceead1e select master initially 2019-02-14 00:11:59 -06:00
Tony Brix
0f4ac747a2 add commit input 2019-02-14 00:08:33 -06:00
Tony Brix
3681bcff33 allow version to be a github commit 2019-02-13 18:24:44 -06:00
Tony Brix
9e2c72f64a fix ie11 2019-02-13 18:04:46 -06:00
Tony Brix
ab42f86430 add response time 2019-02-13 14:18:15 -06:00
Tony Brix
acf9c82388 use worker to prevent dos 2019-02-13 12:16:39 -06:00
Yutaka Omido
c3cc6a2daf update document about extending renderer 2019-02-13 14:42:33 +09:00
Tony Brix
4095fc6be1
remove handleVersionChange 2019-02-08 23:10:23 -06:00
Tony Brix
b236deb001
Merge branch 'enhancement-1406-demo-version' into demo-versions 2019-02-08 23:01:40 -06:00
Tony Brix
3fe557209a add versions dropdown 2019-02-08 14:11:09 -06:00
Ashton Hunter
3ddbb43a8b Add selection options to choose version in demo 2019-02-08 11:16:51 -05:00
Ashton Hunter
0623282915 Add selection options to choose version in demo 2019-02-08 08:28:32 -05:00
Tony Brix
9d9a1a2ff4
add defibrillator badge 2018-12-18 10:13:32 -06:00
Steven
53dd8c0a9c
Update docs to include "Since" version 2018-11-28 16:13:45 -05:00
Steven
bf973d2ae7
Merge pull request #1381 from UziTech/breaks-option
fix `breaks` option description
2018-11-28 15:48:19 -05:00
Tony Brix
18eb692b9a
fix breaks option description 2018-11-27 16:52:37 -06:00
Josh Bruce
08d010742d
Merge pull request #1356 from styfle/license
Move license file back to root dir
2018-10-25 15:53:17 -04:00
Yanick Champoux
89bafb851a
typo: re*s*ponsibility 2018-10-25 13:55:40 -04:00
Steven
2aeae6dd37
Merge pull request #1360 from aprotim/demo_options_parse_feedback
Demo Page: Give user feedback when "options" is not valid JSON.
2018-10-19 16:01:46 -04:00
aprotim
edaddacb12
Options input shouldn't be resizeable
A change in the CSS snuck in from a previous iteration of the demo page options UI. Remove it.
2018-10-19 10:54:11 -07:00
aprotim
e9f57d96d9
As usual, fix my lint errors. 2018-10-18 12:17:46 -07:00
aprotim
173eb82d47
Filter complex objects out of JSON defaults. 2018-10-18 12:10:53 -07:00
aprotim
cf7fab7051
Load default options in demo
Per @styfle's suggestion, setting the options element's contents to the defaults on load.
2018-10-18 11:02:57 -07:00
Aprotim Sanyal
a95b5bcb27 Give user feedback when options is not parsing. 2018-10-18 00:56:29 -07:00
aprotim
14ab69a1e0
Fix lint, per usual. 2018-10-18 00:27:59 -07:00
Aprotim Sanyal
56c216a3fd Create input selector. 2018-10-18 00:19:48 -07:00
Aprotim Sanyal
76d23a0a11 Remove leftover debuggin statements. 2018-10-17 16:57:02 -07:00
Aprotim Sanyal
b27ea1ea0c Fix linter errors 2018-10-17 15:27:25 -07:00
Aprotim Sanyal
05a6345580 Let users add options as JSON in demo. 2018-10-17 15:11:53 -07:00
Steven
bf563cd5ca Fix link to license 2018-10-16 21:22:16 -04:00
Steven
8437d2ca82 Move license back to root dir 2018-10-16 21:16:43 -04:00
Josh Bruce
aac7f0682b Update authors page 2018-09-27 09:55:34 -04:00
Steven
45869b1ae1
Add Tony Brix to Publishers group 2018-09-26 16:48:14 -04:00
Steven
3fbc8f5d1d
Add release badge to Tony Brix 2018-09-26 16:43:22 -04:00
Steven
002c37434a Add missing semicolons to tests 2018-09-23 20:56:38 -04:00
Steven
bc6b4089dc Add license to navbar 2018-08-03 17:04:15 -07:00
Steven
7a3e405785 Move license to docs 2018-08-03 17:03:09 -07:00
Steven
c4a2514c6f Remove whitespace 2018-08-03 16:54:11 -07:00
Steven
9169143d61 Change selected color & remove underline 2018-08-03 16:52:01 -07:00
Steven
feeeee5be5 Revert script links so they still use CDN 2018-08-03 16:49:31 -07:00
Steven
ab89d59aee Add bold for selected nav 2018-08-03 16:42:56 -07:00
Steven
6c2b90fdd6 Improve navbar 2018-08-03 16:40:30 -04:00
Steven
ed512a1d0e Add navigation to docs 2018-08-03 16:16:37 -04:00
Steven
7f311d761b
Merge pull request #1312 from hail2u/patch-2
Add undocumented option descriptions
2018-07-30 13:30:39 -04:00
Kyo Nagashima
8542042ac6
Add un-doumented notes in options
`???` is useless. They should be documented as well as other options.
2018-07-29 17:04:56 +09:00
Kyo Nagashima
007756e7e7
Add missing parameters for renderer methods
Some renderer methods have more parameters than documented. Let’s update them.
2018-07-29 00:20:04 +09:00
Steven
9386fa93a6
Merge pull request #1295 from UziTech/demo-xss
use iframe to sandbox generated html
2018-07-09 13:01:06 -04:00
Steven
1f40ed637a
Separate table of core team vs contributors 2018-06-27 15:17:18 -04:00
Tony Brix
d42f08634d link to options 2018-06-27 00:43:57 -05:00
Tony Brix
21f20276b0 lint 2018-06-24 02:02:11 -05:00
Tony Brix
22a27d04eb add warning to README and docs 2018-06-24 01:56:52 -05:00
Tony Brix
59b1146be7 use iframe to sandbox generated html 2018-06-24 01:46:42 -05:00
Steven
cdbdcbcd3a Decrease image size from 150 to 100 2018-06-23 11:29:41 -04:00
Steven
370b30f31c Fix typo 2018-06-23 11:17:37 -04:00
Steven
6d0c924beb Add hyperlinks to personal websites 2018-06-23 10:35:51 -04:00
Steven
c11d1d0e55 Change order from most to least significant 2018-06-23 10:35:51 -04:00
Steven
3a70fc9301 Add width to columns 2018-06-23 10:35:51 -04:00