Vladimir
d120e014d3
chore(docs): Add marked-typograf extension to the docs ( #3649 )
...
add a new extension to the list
2025-03-31 00:31:10 -06:00
chirsz
f92bdceb2c
chore(docs): add marked-cjk-breaks to "Known Extensions" ( #3629 )
2025-02-28 12:18:41 -07:00
Linux编程科普
17ca80ca27
docs: add note about marked.use in loops ( #3492 )
...
* Update USING_PRO.md
* Update USING_PRO.md
* Update USING_ADVANCED.md
* Update USING_ADVANCED.md
2024-10-19 23:19:38 -06:00
Arnold Daniels
2898bf01b5
docs: Add marked-more-lists
to known extensions in documentation ( #3480 )
...
Add `marked-more-lists` to known extensions
The More Lists extension adds support to Marked for alphabetic and roman numeral ordered lists, and non-sequential lists (skipping numbers).
2024-10-09 14:04:49 -06:00
Rotzbua
abb5204892
chore(docs): add removed option smartLists
( #3332 )
2024-06-18 01:19:17 -06:00
Beni Arisandi
91ee15b2d4
docs: add marked-plaintify
to known extensions ( #3265 )
2024-04-22 18:55:59 -06:00
Beni Arisandi
1c2593f81e
docs: add marked-shiki
to known extensions ( #3197 )
2024-02-19 10:30:44 -05:00
Beni Arisandi
e8ec64fb10
docs: add marked-directive
to known extensions ( #3058 )
2023-10-26 00:39:00 -06:00
Beni Arisandi
1d93e55e51
docs: add marked-alert
to known extensions ( #3051 )
2023-10-22 21:56:46 -06:00
Beni Arisandi
3aa1742709
docs: add marked-footnote
to known extensions ( #3034 )
2023-10-10 09:23:28 -06:00
Tony Brix
34f47b1b8f
docs: add marked-smartypants-lite to known extensions ( #3016 )
2023-10-05 13:03:07 -06:00
Beni Arisandi
1050077d98
docs: add some extensions to known extensions ( #3026 )
...
* docs(using_advanced): adds `codefence` related extensions to known extensions
Added:
- `marked-code-format` for formatting code blocks using Prettier
- `marked-code-jsx-renderer` for rendering JSX code blocks using a custom renderer and components
- `marked-code-preview` for transforming code blocks into code previews
* docs(using_advanced): add `marked-sequential-hooks` to known extensions
* chore: typo
* chore: enclose package name in backticks
Co-authored-by: Tony Brix <tony@brix.ninja>
* chore: enclose package name in backticks
Co-authored-by: Tony Brix <tony@brix.ninja>
---------
Co-authored-by: Tony Brix <tony@brix.ninja>
2023-10-04 21:58:33 -06:00
Tony Brix
22ebdb2507
fix: remove deprecated options ( #2936 )
...
BREAKING CHANGE: deprecated options removed. See https://marked.js.org/using_advanced#options to see how to enable the removed options with extensions.
2023-09-02 22:02:24 -06:00
Tony Brix
71cc7b9d8b
docs: update docs ( #2928 )
...
Co-authored-by: Steven <steven@ceriously.com>
2023-08-10 21:25:40 -06:00
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