jcorpac/ai-skills-library/js-markdown-rendering

Claude Code and agent skill by jcorpac/ai-skills-library

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Dynamically fetching and rendering markdown content in the browser.

Install

npx vskill@latest install jcorpac/ai-skills-library/js-markdown-rendering

SKILL.md

The same SKILL.md was published earlier as jcorpac/ai-skills-library/js-markdown-rendering.

JS Markdown Rendering

By rendering markdown in the browser, you can maintain a single index.html while serving dozens of dynamic "pages."

Core Workflow

  1. Fetching: Use the fetch() API to retrieve .md files from relative paths.
  2. Parsing: Use a lightweight parser like marked.js to convert markdown strings to HTML.
  3. Injection: Set the innerHTML of a container element to display the result.

Performance

  • Lazy Fetching: Only load the markdown file when the user clicks its link.
  • Syntax Highlighting: Use Prism.js or Highlight.js for beautiful code snippets.

Best Practices

  • Routing: Sync the rendered content with the URL hash (e.g., #/git-mastery/atomic-commits).
  • Escaping: Ensure untrusted markdown is sanitized if coming from external sources.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
7-day trend score
8

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/jcorpac/ai-skills-library/js-markdown-rendering/badge)](https://verified-skill.com/skills/jcorpac/ai-skills-library/js-markdown-rendering)

Something wrong with this skill or its page? Tell us.