Skip to content

feat(punctuation): enhance punctuation plugin with normalization and locale-aware quotes#144

Merged
farnabaz merged 2 commits intocomarkdown:mainfrom
arashsheyda:feat/punctation-impovments
Apr 22, 2026
Merged

feat(punctuation): enhance punctuation plugin with normalization and locale-aware quotes#144
farnabaz merged 2 commits intocomarkdown:mainfrom
arashsheyda:feat/punctation-impovments

Conversation

@arashsheyda
Copy link
Copy Markdown
Contributor

Description

as discussed with @farnabaz markdown-it has a builtin support for punctuation (typography), this PR adds the missing functions and also you cna run the benchmark to see which is fast (our plugin is 2x-ish faster)

@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 21, 2026

@arashsheyda is attempting to deploy a commit to the NuxtLabs Team on Vercel.

A member of the Team first needs to authorize it.

@@ -0,0 +1,131 @@
import { bench, run, group } from 'mitata'
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I should remove this file before merging, right?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess so, or maybe we could have a benchmark directory within the tests (or to the root) so we can keep track of the comark perf against others, so we can catch perf regression as the project grows

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 21, 2026

Open in StackBlitz

comark

npm i https://pkg.pr.new/comarkdown/comark@144

@comark/ansi

npm i https://pkg.pr.new/comarkdown/comark/@comark/ansi@144

@comark/html

npm i https://pkg.pr.new/comarkdown/comark/@comark/html@144

@comark/nuxt

npm i https://pkg.pr.new/comarkdown/comark/@comark/nuxt@144

@comark/react

npm i https://pkg.pr.new/comarkdown/comark/@comark/react@144

@comark/svelte

npm i https://pkg.pr.new/comarkdown/comark/@comark/svelte@144

@comark/vue

npm i https://pkg.pr.new/comarkdown/comark/@comark/vue@144

commit: e6e4f96

@farnabaz farnabaz merged commit 62d996f into comarkdown:main Apr 22, 2026
3 of 10 checks passed
@arashsheyda arashsheyda deleted the feat/punctation-impovments branch April 22, 2026 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants