skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
ssshooter/mind-elixir-core0 installs

Customize Markdown

Guide for customizing markdown rendering in Mind Elixir nodes, including using third-party libraries.

How do I install this agent skill?

npx skills add https://github.com/ssshooter/mind-elixir-core --skill customize-markdown
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    The skill is an informational guide for customizing markdown rendering in the Mind Elixir library. It provides documentation and code examples for integrating markdown parsers, with no security risks detected.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

  • Runlayerwarn

    1/1 file flagged

What does this agent skill do?

Customize Markdown

Mind Elixir supports markdown rendering in nodes. You can use the built-in simple parser or integrate a full-featured markdown library.

1. Default Behavior

By default, Mind Elixir does not parse markdown. You must provide a parsing function in the options to enable it.

2. Using a Custom Parsing Function

You can implement a simple replacement function if you only need basic formatting (bold, italic, code).

let mind = new MindElixir({
  // ... other options
  markdown: text => {
    // Simple regex replacements
    return text
      .replace(/\*\*(.*?)\*\*/g, '<strong>$1</strong>')
      .replace(/\*(.*?)\*/g, '<em>$1</em>')
      .replace(/`(.*?)`/g, '<code>$1</code>')
  },
})

3. Integrating with Third-Party Libraries

For full markdown support, it is recommended to use a library like marked or markdown-it.

Example with marked

First, install the library:

npm i marked

Then, use it in your initialization:

import { marked } from 'marked'
import MindElixir from 'mind-elixir'

let mind = new MindElixir({
  // ... other options
  markdown: text => marked(text),
})

This will render the node content as HTML generated by the markdown parser.

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/ssshooter/mind-elixir-core/customize-markdown">View Customize Markdown on skillZs</a>