Markdown Processor

Parses, transforms, and renders Markdown/MDX with remark, rehype, and Shiki.

1|Updated Sep 14, 2025
One-click install
npx skills add https://github.com/CleanExpo/DR-NRPG --skill markdown-processor
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Markdown Processor
Source: https://github.com/CleanExpo/DR-NRPG/tree/main/.skills/custom/markdown-processor
Command: npx skills add https://github.com/CleanExpo/DR-NRPG --skill markdown-processor

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of parsing, transforming, and rendering Markdown content, ensuring consistent and safe display across different platforms and applications.

Core Features & Use Cases

  • Unified Parsing: Utilizes the unified ecosystem (remark/rehype) for robust Markdown and MDX processing.
  • Syntax Highlighting: Integrates Shiki for beautiful code block rendering.
  • Security: Employs rehype-sanitize to prevent XSS vulnerabilities.
  • Use Case: Render user-generated comments or documentation pages that include code snippets and custom formatting, ensuring they are displayed correctly and securely.

Quick Start

Use the markdown-processor skill to render the provided markdown content into HTML.

Frequently Asked Questions about Markdown Processor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I securely render user-generated Markdown content to prevent XSS vulnerabilities?

To securely render Markdown and prevent XSS, this Skill employs rehype-sanitize within a unified pipeline. This process strips malicious scripts from user-generated content before it is converted into HTML, ensuring safe display across applications.

Can I use custom remark plugins for MDX parsing and rendering?

Yes, you can use custom remark plugins for MDX parsing. The Skill utilizes a unified ecosystem pipeline that supports extensibility through custom remark plugins, allowing you to transform and render MDX content dynamically.

What is the best way to add syntax highlighting to Markdown code blocks?

The best way to add syntax highlighting to Markdown code blocks is using Shiki. This Skill integrates Shiki within its remark and rehype pipeline to produce beautiful, accurate code block rendering for your documentation.

Does the Markdown rendering pipeline support both JavaScript and Python?

Yes, the Markdown rendering pipeline supports both JavaScript and Python. It offers distinct rendering patterns for both environments, allowing you to process and display MDX or Markdown content regardless of your technical stack.

Why does my Markdown content display incorrectly when rendering user comments?

Markdown content may display incorrectly if the unified parsing pipeline lacks proper remark transformations or sanitization rules. This Skill standardizes parsing using remark and rehype to ensure consistent formatting and secure rendering of user comments.