Tony Brix
353e13b479
feat: add Marked instance ( #2831 )
...
Co-authored-by: Steven <steven@ceriously.com>
2023-06-09 22:10:12 -05:00
Tony Brix
62d3312b7a
fix: deprecate options ( #2766 )
...
BREAKING CHANGE: deprecate options
2023-05-01 23:30:06 -05:00
Tony Brix
df9f2d351f
docs: Add marked-emoji to known extensions ( #2693 )
2023-01-01 21:29:23 -06:00
Tony Brix
715f88aa9a
docs: add cli extension docs ( #2632 )
2022-10-31 18:07:17 -05:00
mayank singh tomar
f6ba2e39f7
fix: remove smartLists from docs and code ( #2596 )
...
* Removing smarLists
for issue #2582
* Removing smartLists
for issue #2582
* removing smarLists
for issue #2582
* removing smartLists
for issue #2582
* removing samrtLists
for issue #2582
* removing smartLists
for issue #2582
* removing smartLists
for issue #2582
2022-09-30 20:32:10 -05:00
Tony Brix
7c907cbd76
docs: add known extensions ( #2588 )
2022-09-19 20:17:04 -05:00
Tony Brix
994b2e6127
feat: add async option ( #2474 )
...
* fix: return values from walkTokens
* docs: add async docs
* test: add async test
* docs: add nav to async
* Update docs/USING_PRO.md
Co-authored-by: Steven <steven@ceriously.com>
* test: expect promise
* Update docs/USING_ADVANCED.md
Co-authored-by: Steven <steven@ceriously.com>
Co-authored-by: Steven <steven@ceriously.com>
2022-08-30 09:36:16 -05:00
Ben McCann
4afb228d95
fix: Convert to ESM ( #2227 )
...
BREAKING CHANGE:
- Default export removed. Use `import { marked } from 'marked'` or `const { marked } = require('marked')` instead.
- `/lib/marked.js` removed. Use `/marked.min.js` in script tag instead.
- When using marked in a script tag use `marked.parse(...)` instead of `marked(...)`
2021-11-02 09:32:17 -05:00
Andrew
e583f46f0d
chore(docs): Use langPrefix
in highlight.js
example. ( #2176 )
...
To properly integrate [highlight.js](https://github.com/highlightjs/highlight.js/ ) when using `marked.setOptions`, you need to leverage `langPrefix` to add an additional `hljs` class to the top-level `<code>` element which will be rendered.
Closes #2171
2021-08-23 13:51:52 -05:00
Tony Brix
22ead33a0f
chore(docs): fix async highlight example ( #2123 )
2021-06-30 22:42:06 -04:00
Steven
65c3f77f3f
docs: update highlight.js usage ( #2003 )
2021-04-11 22:37:55 -05:00
Tony Brix
d0818b6367
update docs example
2020-09-21 09:59:33 -05:00
Tony Brix
5afb00518f
add inline markdown docs
2020-09-21 00:00:45 -05:00
Steven
010c95f090
Use cleanUrls
2020-08-29 17:55:07 -04:00
Steven
6789214c5c
Fix links to other documents
2020-08-15 19:35:00 -04:00
Tony Brix
acc84eb6a0
add walkTokens to docs
2020-05-12 19:57:28 -05:00
Tony Brix
bf672bb521
add tokenizer to option docs
2020-05-02 23:59:33 -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
4ddbe81c56
fix spelling
2019-11-06 15:36:22 -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
1f4c17fa8a
Merge branch 'master' into spec-options
2019-07-02 09:36:05 -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
KT
0c38172e31
add sanitize deprecation warnings to docs
2019-06-27 01:25:55 +02: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
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
Steven
53dd8c0a9c
Update docs to include "Since" version
2018-11-28 16:13:45 -05:00
Tony Brix
18eb692b9a
fix breaks
option description
2018-11-27 16:52:37 -06: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
Marti Martz
78d3ab7198
Update USING_ADVANCED.md
...
Typo in casing
2018-05-24 12:08:07 -06:00
Remy Rylan
7b1d0be249
Update fenced code blocks to CommonMark standard
2018-05-11 11:12:12 -04:00
Marti Martz
1975406c2b
Update USING_ADVANCED.md
...
Fix a typo
2018-05-05 13:47:18 -06:00