8 Commits

Author SHA1 Message Date
Tony Brix
2c0e47a4ce
fix: fix image alt text rendered to match common mark (#3668) 2025-04-24 18:41:02 -06:00
Spencer Whitehead
1f579f7628
fix: Remove unused plus typescript tightening (#3527)
* chore: remove unused build file

* chore: remove unused package

* chore: remove unused function

* chore: remove unnecessary | undefineds

* core: replace unnecessary &&s with optional chaining

* chore: use .at(-x) instead of .length - x property access

gives stricter TS typing, is more concise

* chore: tighten TS types

* chore: sort tokens alphabetically

* fix: typeof plus !== null check

* chore: type test for .parse, .use

* fix: if check
2024-11-17 21:53:28 -07:00
Tony Brix
58d66e59d1
fix: escape html in renderer (#3495)
BREAKING CHANGE: escape html in renderers for all tokens.
2024-11-08 19:38:08 -07:00
Tony Brix
9b02e477c6
chore: consolidate eslint rules (#3368) 2024-07-14 18:54:46 -06: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
a990c54e0c
fix: fix more types (#2893)
Co-authored-by: Steven <steven@ceriously.com>
2023-08-19 16:55:56 -06:00
Tony Brix
ff1602c178
fix: noImplicitAny: true (#2891) 2023-08-09 23:33:46 -06:00
Florian Dreier
cb549065f1
fix: Migrate to Typescript (#2805)
BREAKING CHANGE: Migrate to Typescript
2023-07-29 00:31:34 -06:00