-
-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add new markdown formatters (#9613)
* feat: add new markdown formatters Co-authored-by: Jaw0r3k <jaw0r3k.g@gmail.com> * Update packages/formatters/src/formatters.ts Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com> * refactor: remove unnecessary index tracking and rename 'array' to 'items' Co-authored-by: Almeida <almeidx@pm.me> * refactor: rename 'array' to 'items' Co-authored-by: Almeida <almeidx@pm.me> * refactor(heading): consolidate heading functions into a single function Also correct param names from array to items. Co-authored-by: Jaw0r3k <jaw0r3k.g@gmail.com> * refactor: add HeadingLevel enum and use switch case * fix: export HeadingLevel enum Co-authored-by: Jaw0r3k <jaworekwiadomosci@gmail.com> * feat(heading): add missing documentation for level parameter * refactor: update list formatters * docs: correct heading formatter description * refactor: update list formatters * fix(heading): remove unnecessary space * refactor: move list callback function to outer scope * test: add tests * refactor: requested changes * refactor: suggested changes * docs: add missing documentation * style: suggested change Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com> * refactor: use math max method instead Co-authored-by: Almeida <almeidx@pm.me> --------- Co-authored-by: Jaw0r3k <jaw0r3k.g@gmail.com> Co-authored-by: Sugden <28943913+NotSugden@users.noreply.github.com> Co-authored-by: Almeida <almeidx@pm.me> Co-authored-by: Jaw0r3k <jaworekwiadomosci@gmail.com> Co-authored-by: Jiralite <33201955+Jiralite@users.noreply.github.com> Co-authored-by: space <spaceeec@yahoo.com>
- Loading branch information
1 parent
50106c7
commit 0d787e9
Showing
2 changed files
with
133 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters