Tony Brix
9ed6456a37
fix: Don't replace tabs with spaces ( #3438 )
...
* fix: don't convert tabs to spaces
* test exact
* save nextLineWithoutTabs
* fix code
2024-09-03 18:06:32 -06:00
Tony Brix
9b02e477c6
chore: consolidate eslint rules ( #3368 )
2024-07-14 18:54:46 -06:00
Tony Brix
d28e4c65ea
fix: fix list item with blank first line ( #3351 )
...
* fix: fix list item with blank first line
* move blankline
2024-07-03 17:04:17 -07:00
Tony Brix
1ce59ea827
feat: Send token objects to renderers ( #3291 )
...
BREAKING CHANGE: extensions that change marked renderers will need to be updated and use new option `useNewRenderer`
2024-06-12 00:00:22 -06:00
Tony Brix
7ab818502e
fix: blockquote code continuation ( #3264 )
...
BREAKING CHANGE: add space token after blockquote and hr if there are multiple newlines
2024-06-11 23:53:43 -06:00
Tony Brix
e9f0eed707
fix: fix Setext continuation in blockquote ( #3257 )
2024-04-18 23:06:58 -06:00
Tony Brix
175fc0c321
fix: clean up rules so they can be typed ( #3087 )
...
BREAKING CHANGE: Lexer.rules object has been changed so it can be properly types. Some intermediate rules have been removed.
2023-11-28 20:56:27 -07:00
Tony Brix
54b6d1c47d
fix: fix emstrong unicode ( #3070 )
2023-11-01 22:27:17 -06:00
Tony Brix
92033e57c8
fix: trim newline from blockquote token.text ( #3037 )
2023-10-13 13:52:19 -06:00
Tony Brix
8ebbb3c3d4
fix: fix unicode emstrong ( #2989 )
2023-09-16 17:24:06 -06:00
Tony Brix
0743d4adb4
fix: single column table ( #2985 )
2023-09-15 13:21:58 -06:00
Imken Luo
eda75a662c
fix: deprecated trimLeft/trimRight ( #2973 )
2023-09-06 12:57:57 -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
a990c54e0c
fix: fix more types ( #2893 )
...
Co-authored-by: Steven <steven@ceriously.com>
2023-08-19 16:55:56 -06: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
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
Florian Dreier
cb549065f1
fix: Migrate to Typescript ( #2805 )
...
BREAKING CHANGE: Migrate to Typescript
2023-07-29 00:31:34 -06:00