Skip to content

Add remark-pele to list of plugins - #1506

Closed
yue1123 wants to merge 1 commit into
remarkjs:mainfrom
yue1123:add-remark-pele
Closed

yue1123 wants to merge 1 commit into
remarkjs:mainfrom
yue1123:add-remark-pele

Conversation

@yue1123

@yue1123 yue1123 commented Oct 26, 2026

Copy link
Copy Markdown

Initial checklist

  • I read the support docs
  • I read the contributing guide
  • I agree to follow the code of conduct
  • I searched issues and discussions and couldn’t find anything or linked relevant results below
  • I made sure the docs are up to date
  • I included tests (or that’s not needed) (N/A)

Description of changes

Adds remark-pele to doc/plugins.md.

It renders mermaid code blocks to inline SVG at build time with pele, a small synchronous Mermaid renderer with no runtime dependencies. Unlike approaches that drive a headless browser, it needs no Playwright/Puppeteer setup, and the output needs no client-side JS.

  • Works with unified().use(remarkPele) (default export, unified 11)
  • Has the remark-plugin keyword in package.json and the remark-plugin topic on GitHub
  • Typed, tested, ESM + CJS
  • Playground: https://yue1123.github.io/pele-markdown/

repo: https://github.com/yue1123/pele-markdown/tree/main/packages/remark-pele

🤖 Generated with Claude Code

@github-actions github-actions Bot added 👋 phase/new Post is being triaged automatically 🤞 phase/open Post is being triaged manually and removed 👋 phase/new Post is being triaged automatically labels Oct 26, 2026
@codecov

codecov Bot commented Oct 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (1146b3a) to head (2bce796).

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #1506   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            6         6           
  Lines          138       138           
=========================================
  Hits           138       138           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@remcohaszing

Copy link
Copy Markdown
Member

This is the same category as #1500 and #1501. This plugin generates HTML. It should be a rehype plugin, not a remark plugin.

@github-actions

This comment has been minimized.

@remcohaszing remcohaszing added 🤷 no/invalid This cannot be acted upon 👎 phase/no Post cannot or will not be acted on and removed 🤞 phase/open Post is being triaged manually labels Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🤷 no/invalid This cannot be acted upon 👎 phase/no Post cannot or will not be acted on

Development

Successfully merging this pull request may close these issues.

2 participants