.cursor/skills/markdown-enhancement/SKILL.md
Add or improve Markdown parsing and rendering in kheMessage. Use when adding new Markdown syntax support, fixing formatting issues, or enhancing the text editor.
npx skillsauth add HKTITAN/kheMessage markdown-enhancementInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Extend or improve the Markdown parsing and rendering in kheMessage.
The parseMarkdown function in index.html handles Markdown rendering:
function parseMarkdown(element) {
const input = element.textContent
const frag = document.createDocumentFragment()
const matchers = [
{name: 'md-codeblock', re: /```[^\n]*\n[\s\S]*?\n```/y},
{name: 'md-h1', re: /^#[ \t]+[^\n]*$/my},
// ... more matchers
]
// ...
}
Currently supported:
Add a CSS class in the <style> block:
.md-new-syntax {
/* styling */
}
Add a regex matcher to the matchers array:
{name: 'md-new-syntax', re: /pattern/y}
Handle special rendering in the loop if needed
development
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".
development
Deploy applications and websites to Vercel. Use this skill when the user requests deployment actions such as "Deploy my app", "Deploy this to production", "Create a preview deployment", "Deploy and give me the link", or "Push this live". No authentication required - returns preview URL and claimable deployment link.
testing
Customize or extend the theming system in kheMessage. Use when adding new themes, modifying colors, or enhancing theme switching.
development
Work with QR code generation and display. Use when modifying QR functionality, fixing QR rendering, or adding QR features.