A plugin for GLPI that adds markdown editing capabilities to text fields in the knowledge base and other text areas.
- Markdown Toggle: Switch between rich text editor (TinyMCE) and markdown mode
- Real-time Preview: See HTML preview while editing markdown
- Image Paste Support: Paste images directly from clipboard in markdown mode
- Syntax Highlighting: Markdown syntax highlighting in textarea
- Bidirectional Conversion: Convert between HTML and markdown seamlessly
- Open any knowledge base article or text field with rich text editor
- Look for the "Markdown" toggle switch next to the text editor
- Toggle the switch to enable markdown mode
- Write your content using standard markdown syntax
- Toggle back to see the rendered HTML
New in this version! You can now paste images directly into markdown mode:
- Enable markdown mode by toggling the switch
- Copy an image from anywhere (screenshot, file, web page, etc.)
- Paste the image (
Ctrl+V/Cmd+V) into the markdown textarea - The image will be automatically uploaded to GLPI's file system
- Markdown syntax for the image will be inserted:
 - Toggle back to HTML mode to see the image rendered
- PNG
- JPEG/JPG
- GIF
- WebP (if supported by browser)
- Images are uploaded to GLPI's temporary directory (
/files/_tmp/) - Unique filenames are generated to prevent conflicts
- Upload progress is shown with visual feedback
- Success/error notifications appear in the top-right corner
- Headers:
# ## ### - Bold:
**text**or__text__ - Italic:
*text*or_text_ - Links:
[text](url) - Images:
 - Lists:
- itemor1. item - Code:
`code`orcode blocks - Quotes:
> quote
- Copy the plugin to your GLPI plugins directory
- Access GLPI administration
- Go to Setup → Plugins
- Install and activate the "MarkDown Editor" plugin
- Uses TinyMCE's API for seamless integration
- Leverages GLPI's existing file upload system (
/ajax/fileupload.php) - Images are stored in GLPI's temporary directory structure
- Real-time conversion between HTML and markdown formats
- Event-driven architecture for optimal performance
- Check that GLPI's file upload permissions are configured correctly
- Verify that the
/files/_tmp/directory is writable - Check browser console for any JavaScript errors
- Refresh the page to reload JavaScript files
- Clear browser cache if changes aren't taking effect
- Check for conflicts with other plugins
- Ensure the plugin is properly activated in GLPI
- Check that you're on a page with a rich text editor
- Verify JavaScript console for any errors