ssshooter/mind-elixir-core

Customize Markdown

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

Installation

$ npx skills add ssshooter/mind-elixir-core --skill customize-markdown

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from ssshooter/mind-elixir-core.

npx skills add ssshooter/mind-elixir-core

Browse all from ssshooter/mind-elixir-core

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 3.2K
License LICENSE
Default branch master
Open issues 12
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,404 B
  • docs SUMMARY.md 127 B

History

  1. First recorded snapshot · 60 installs

SKILL.md

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.