3527 Commits

Author SHA1 Message Date
dependabot[bot]
2e88a2d0cb
chore(deps-dev): Bump marked-highlight from 2.0.5 to 2.0.6 (#2977)
Bumps [marked-highlight](https://github.com/markedjs/marked-highlight) from 2.0.5 to 2.0.6.
- [Release notes](https://github.com/markedjs/marked-highlight/releases)
- [Changelog](https://github.com/markedjs/marked-highlight/blob/main/release.config.cjs)
- [Commits](https://github.com/markedjs/marked-highlight/compare/v2.0.5...v2.0.6)

---
updated-dependencies:
- dependency-name: marked-highlight
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 11:12:23 -06:00
Tony Brix
6055e5e402
chore: add version and copyright to marked.min.js (#2976) 2023-09-10 09:05:00 -06:00
semantic-release-bot
329eba8e11 chore(release): 9.0.0 [skip ci]
# [9.0.0](https://github.com/markedjs/marked/compare/v8.0.1...v9.0.0) (2023-09-09)

### Bug Fixes

* Clean up files in repo ([#2963](https://github.com/markedjs/marked/issues/2963)) ([7d95a91](7d95a91093))

### BREAKING CHANGES

* - remove built files from git repo.
  - If you need to use the latest version of marked on the web you can use a cdn to get marked.min.js from npm:
  - `https://cdn.jsdelivr.net/npm/marked/marked.min.js`
v9.0.0
2023-09-09 23:57:39 +00:00
Tony Brix
7d95a91093
fix: Clean up files in repo (#2963)
BREAKING CHANGE:

- remove built files from git repo.
  - If you need to use the latest version of marked on the web you can use a cdn to get marked.min.js from npm:
  - `https://cdn.jsdelivr.net/npm/marked/marked.min.js`
2023-09-09 17:51:42 -06:00
semantic-release-bot
ccc7a8fb34 chore(release): 8.0.1 [skip ci]
## [8.0.1](https://github.com/markedjs/marked/compare/v8.0.0...v8.0.1) (2023-09-06)

### Bug Fixes

* deprecated trimLeft/trimRight ([#2973](https://github.com/markedjs/marked/issues/2973)) ([eda75a6](eda75a662c))
* fix space removed after checkbox ([#2971](https://github.com/markedjs/marked/issues/2971)) ([9a2a4ad](9a2a4ad61a))
v8.0.1
2023-09-06 19:03:52 +00:00
MarkedJS bot
8492faf1ee 🗜️ build v8.0.1 [skip ci] 2023-09-06 19:01:38 +00:00
Imken Luo
eda75a662c
fix: deprecated trimLeft/trimRight (#2973) 2023-09-06 12:57:57 -06:00
Tony Brix
9a2a4ad61a
fix: fix space removed after checkbox (#2971)
* fix: fix space removed after checkbox

* add loose test
2023-09-06 12:57:09 -06:00
dependabot[bot]
0ac8b78fe7
chore(deps-dev): Bump titleize from 3.0.0 to 4.0.0 (#2965)
Bumps [titleize](https://github.com/sindresorhus/titleize) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/sindresorhus/titleize/releases)
- [Commits](https://github.com/sindresorhus/titleize/compare/v3.0.0...v4.0.0)

---
updated-dependencies:
- dependency-name: titleize
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 09:24:56 -06:00
dependabot[bot]
e5441d4925
chore(deps-dev): Bump semantic-release from 21.0.9 to 21.1.1 (#2964)
Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 21.0.9 to 21.1.1.
- [Release notes](https://github.com/semantic-release/semantic-release/releases)
- [Commits](https://github.com/semantic-release/semantic-release/compare/v21.0.9...v21.1.1)

---
updated-dependencies:
- dependency-name: semantic-release
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 09:23:26 -06:00
dependabot[bot]
1e7fcea94d
chore(deps-dev): Bump marked-highlight from 2.0.4 to 2.0.5 (#2966)
Bumps [marked-highlight](https://github.com/markedjs/marked-highlight) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/markedjs/marked-highlight/releases)
- [Changelog](https://github.com/markedjs/marked-highlight/blob/main/release.config.cjs)
- [Commits](https://github.com/markedjs/marked-highlight/compare/v2.0.4...v2.0.5)

---
updated-dependencies:
- dependency-name: marked-highlight
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 09:23:08 -06:00
dependabot[bot]
64ea9344d9
chore(deps-dev): Bump @semantic-release/release-notes-generator from 11.0.4 to 11.0.7 (#2967)
chore(deps-dev): Bump @semantic-release/release-notes-generator

Bumps [@semantic-release/release-notes-generator](https://github.com/semantic-release/release-notes-generator) from 11.0.4 to 11.0.7.
- [Release notes](https://github.com/semantic-release/release-notes-generator/releases)
- [Commits](https://github.com/semantic-release/release-notes-generator/compare/v11.0.4...v11.0.7)

---
updated-dependencies:
- dependency-name: "@semantic-release/release-notes-generator"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 09:22:55 -06:00
dependabot[bot]
b30b1bd776
chore(deps-dev): Bump @semantic-release/commit-analyzer from 10.0.1 to 10.0.4 (#2968)
chore(deps-dev): Bump @semantic-release/commit-analyzer

Bumps [@semantic-release/commit-analyzer](https://github.com/semantic-release/commit-analyzer) from 10.0.1 to 10.0.4.
- [Release notes](https://github.com/semantic-release/commit-analyzer/releases)
- [Commits](https://github.com/semantic-release/commit-analyzer/compare/v10.0.1...v10.0.4)

---
updated-dependencies:
- dependency-name: "@semantic-release/commit-analyzer"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 09:22:29 -06:00
dependabot[bot]
dc9213177a
chore(deps): Bump actions/checkout from 3 to 4 (#2969)
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 09:22:02 -06:00
semantic-release-bot
4a855a8cfb chore(release): 8.0.0 [skip ci]
# [8.0.0](https://github.com/markedjs/marked/compare/v7.0.5...v8.0.0) (2023-09-03)

### Bug Fixes

* remove deprecated options ([#2936](https://github.com/markedjs/marked/issues/2936)) ([22ebdb2](22ebdb2507))

### Features

* add --config options to marked cli ([fc643a2](fc643a2625))

### BREAKING CHANGES

* deprecated options removed. See https://marked.js.org/using_advanced#options to see how to enable the removed options with extensions.
v8.0.0
2023-09-03 04:08:20 +00:00
MarkedJS bot
326d46fef8 🗜️ build v8.0.0 [skip ci] 2023-09-03 04:06:04 +00: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
fc643a2625 feat: add --config options to marked cli 2023-09-02 21:47:36 -06:00
Tony Brix
65b6f146b6
add config option to bin/marked (#2937)
* add config option to bin/marked

* add tests

* add docs

* remove focused tests
2023-09-02 21:39:45 -06:00
dependabot[bot]
afbaebce2b
chore(deps-dev): Bump rollup from 3.28.0 to 3.28.1 (#2960)
Bumps [rollup](https://github.com/rollup/rollup) from 3.28.0 to 3.28.1.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v3.28.0...v3.28.1)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 13:41:09 -06:00
dependabot[bot]
68ec0c98a8
chore(deps-dev): Bump typescript from 5.1.6 to 5.2.2 (#2959)
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.1.6 to 5.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.1.6...v5.2.2)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 13:40:57 -06:00
dependabot[bot]
d491f4ec8c
chore(deps-dev): Bump eslint from 8.47.0 to 8.48.0 (#2958)
Bumps [eslint](https://github.com/eslint/eslint) from 8.47.0 to 8.48.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.47.0...v8.48.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 13:40:41 -06:00
dependabot[bot]
f8e0c6efbc
chore(deps-dev): Bump @rollup/plugin-typescript from 11.1.2 to 11.1.3 (#2957)
Bumps [@rollup/plugin-typescript](https://github.com/rollup/plugins/tree/HEAD/packages/typescript) from 11.1.2 to 11.1.3.
- [Changelog](https://github.com/rollup/plugins/blob/master/packages/typescript/CHANGELOG.md)
- [Commits](https://github.com/rollup/plugins/commits/typescript-v11.1.3/packages/typescript)

---
updated-dependencies:
- dependency-name: "@rollup/plugin-typescript"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 13:40:28 -06:00
dependabot[bot]
603197e4c6
chore(deps-dev): Bump eslint-plugin-n from 16.0.1 to 16.0.2 (#2956)
Bumps [eslint-plugin-n](https://github.com/eslint-community/eslint-plugin-n) from 16.0.1 to 16.0.2.
- [Release notes](https://github.com/eslint-community/eslint-plugin-n/releases)
- [Commits](https://github.com/eslint-community/eslint-plugin-n/compare/16.0.1...16.0.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-n
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 13:40:03 -06:00
semantic-release-bot
0ef23ba548 chore(release): 7.0.5 [skip ci]
## [7.0.5](https://github.com/markedjs/marked/compare/v7.0.4...v7.0.5) (2023-08-26)

### Bug Fixes

* remove unknown from walkTokens return types ([#2955](https://github.com/markedjs/marked/issues/2955)) ([65934c1](65934c13ca))
v7.0.5
2023-08-26 16:02:56 +00:00
MarkedJS bot
662e6669e2 🗜️ build v7.0.5 [skip ci] 2023-08-26 16:00:42 +00:00
Tony Brix
65934c13ca
fix: remove unknown from walkTokens return types (#2955)
* fix: remove unknown from walkTokens return types

* build before testing types
2023-08-26 09:57:05 -06:00
dependabot[bot]
5bc2fdb7a7
chore(deps-dev): Bump @typescript-eslint/eslint-plugin from 6.3.0 to 6.4.1 (#2953)
chore(deps-dev): Bump @typescript-eslint/eslint-plugin

Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 6.3.0 to 6.4.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.4.1/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 15:13:43 -06:00
dependabot[bot]
e7d4915ec7
chore(deps-dev): Bump @typescript-eslint/parser from 6.4.0 to 6.4.1 (#2952)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.4.0 to 6.4.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.4.1/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 15:11:06 -06:00
dependabot[bot]
14a6e03200
chore(deps-dev): Bump @typescript-eslint/parser from 6.3.0 to 6.4.0 (#2948)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v6.4.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 14:01:17 -06:00
dependabot[bot]
1ca75b5fab
chore(deps-dev): Bump eslint-plugin-import from 2.28.0 to 2.28.1 (#2949)
Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.28.0 to 2.28.1.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/main/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.28.0...v2.28.1)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 14:01:06 -06:00
dependabot[bot]
c59926465a
chore(deps-dev): Bump semantic-release from 21.0.7 to 21.0.9 (#2951)
Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 21.0.7 to 21.0.9.
- [Release notes](https://github.com/semantic-release/semantic-release/releases)
- [Commits](https://github.com/semantic-release/semantic-release/compare/v21.0.7...v21.0.9)

---
updated-dependencies:
- dependency-name: semantic-release
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 14:00:56 -06:00
dependabot[bot]
dd2a74e82a
chore(deps-dev): Bump @semantic-release/npm from 10.0.4 to 10.0.5 (#2950)
Bumps [@semantic-release/npm](https://github.com/semantic-release/npm) from 10.0.4 to 10.0.5.
- [Release notes](https://github.com/semantic-release/npm/releases)
- [Commits](https://github.com/semantic-release/npm/compare/v10.0.4...v10.0.5)

---
updated-dependencies:
- dependency-name: "@semantic-release/npm"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 14:00:38 -06:00
semantic-release-bot
f2a6368b6b chore(release): 7.0.4 [skip ci]
## [7.0.4](https://github.com/markedjs/marked/compare/v7.0.3...v7.0.4) (2023-08-19)

### Bug Fixes

* fix more types ([#2893](https://github.com/markedjs/marked/issues/2893)) ([a990c54](a990c54e0c))
* ignore async: false when async: true is set by an extension ([#2920](https://github.com/markedjs/marked/issues/2920)) ([b6ee877](b6ee877d58))
v7.0.4
2023-08-19 23:04:14 +00:00
MarkedJS bot
6867c38cfd 🗜️ build v7.0.4 [skip ci] 2023-08-19 23:01:59 +00:00
Tony Brix
b6ee877d58
fix: ignore async: false when async: true is set by an extension (#2920) 2023-08-19 16:58:32 -06:00
Tony Brix
a990c54e0c
fix: fix more types (#2893)
Co-authored-by: Steven <steven@ceriously.com>
2023-08-19 16:55:56 -06:00
Travis Briggs
4e6acc8b85
docs: Tweaks to docs to make them clearer, regarding hooks and options to lexer/parser (#2946)
* Tweaks to docs to make them clearer, regarding hooks and options to lexer/parser

* Remove extraneous commas

* Update description of lexer/renderer options
2023-08-16 13:44:41 -06:00
semantic-release-bot
6c2c64c193 chore(release): 7.0.3 [skip ci]
## [7.0.3](https://github.com/markedjs/marked/compare/v7.0.2...v7.0.3) (2023-08-15)

### Bug Fixes

* Fix unicode Regex miscounting emoji length ([#2942](https://github.com/markedjs/marked/issues/2942)) ([f3af23e](f3af23ec98))
v7.0.3
2023-08-15 00:20:58 +00:00
MarkedJS bot
3f865bef56 🗜️ build v7.0.3 [skip ci] 2023-08-15 00:18:42 +00:00
Trevor Buckner
f3af23ec98
fix: Fix unicode Regex miscounting emoji length (#2942)
Many emojis are 2+ unicode bytes long. The \u tag which allows searching for punctuation also counts emojis as single chars. Slicing the strings into an array restores the correct character count.
2023-08-14 18:14:55 -06:00
dependabot[bot]
8fb1711d14
chore(deps-dev): Bump rollup from 3.27.2 to 3.28.0 (#2941)
Bumps [rollup](https://github.com/rollup/rollup) from 3.27.2 to 3.28.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v3.27.2...v3.28.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-14 16:27:52 -06:00
dependabot[bot]
ef0d9d1a0c
chore(deps-dev): Bump eslint from 8.46.0 to 8.47.0 (#2940)
Bumps [eslint](https://github.com/eslint/eslint) from 8.46.0 to 8.47.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.46.0...v8.47.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-14 16:27:25 -06:00
Tony Brix
89ddeec2a0
docs: fix older versions in demo (#2934) 2023-08-11 21:46:54 -06:00
Tony Brix
71cc7b9d8b
docs: update docs (#2928)
Co-authored-by: Steven <steven@ceriously.com>
2023-08-10 21:25:40 -06:00
semantic-release-bot
f10fc84b80 chore(release): 7.0.2 [skip ci]
## [7.0.2](https://github.com/markedjs/marked/compare/v7.0.1...v7.0.2) (2023-08-10)

### Bug Fixes

* fix sourcemaps and circular dependencies ([#2929](https://github.com/markedjs/marked/issues/2929)) ([eb4ce21](eb4ce21127))
* noImplicitAny: true ([#2891](https://github.com/markedjs/marked/issues/2891)) ([ff1602c](ff1602c178))
v7.0.2
2023-08-10 05:39:47 +00:00
MarkedJS bot
374437be9f 🗜️ build v7.0.2 [skip ci] 2023-08-10 05:37:29 +00:00
Tony Brix
ff1602c178
fix: noImplicitAny: true (#2891) 2023-08-09 23:33:46 -06:00
Tony Brix
eb4ce21127
fix: fix sourcemaps and circular dependencies (#2929) 2023-08-09 22:40:16 -06:00
su
5e67cdff35
chore: optimize npm publish package size (#2927)
chore: optimize npm publish package size,
2023-08-09 16:25:41 -04:00