telegramify-markdown

Convert Markdown to Telegram-compatible format

Package Information

Downloads: 52 weekly / 126 monthly
Latest Version: 0.1.1
Author: maddocnc

Documentation

@frabbit/n8n-nodes-telegramify-markdown

This is an n8n community node that converts Markdown text to Telegram-compatible format using the telegramify-markdown package.

n8n is a fair-code licensed workflow automation platform.

Installation

Follow the installation guide in the n8n community nodes documentation.

Features

  • Convert Markdown text to Telegram-compatible format
  • Select which input field to process
  • Support for expressions to dynamically select fields
  • Configurable handling of unsupported tags (keep, escape, or remove)
  • Returns only the converted text as output

Operations

This node performs a single operation: Convert Markdown to Telegram format

Parameters

  • Field Name (required): The name of the input field containing Markdown text to convert. You can use expressions like {{ $json.text }} to dynamically select the field.
  • Mode (optional): Strategy for handling unsupported tags:
    • Keep (default): Ignore unsupported tags
    • Escape: Escape unsupported symbols for unsupported tags
    • Remove: Remove unsupported tags completely

Credentials

This node does not require any credentials.

Compatibility

  • Minimum n8n version: 1.0
  • Tested with n8n version 1.0+

Usage

Basic Example

  1. Add the "Telegramify Markdown" node to your workflow
  2. Connect a node that outputs data with a field containing Markdown (e.g., a "Set" node or API response)
  3. In the "Field Name" parameter, enter the name of the field containing Markdown text (e.g., text or content)
  4. Select the desired "Mode" for handling unsupported tags
  5. The node will output only the converted text in the text field

Using Expressions

You can use n8n expressions to dynamically select the field:

{{ $json.markdown }}

This is useful when the field name varies or comes from another node's output.

Example Workflow

Manual Trigger → Set (add markdown field) → Telegramify Markdown → Telegram Node
  1. Manual Trigger: Start the workflow
  2. Set Node: Adds a field content with Markdown text like:
    # Header
    > Blockquote
    <div>HTML in div</div>
    
  3. Telegramify Markdown Node:
    • Field Name: content
    • Mode: escape
    • Outputs: Converted text compatible with Telegram
  4. Telegram Node: Sends the converted message

Output Format

The node returns only the converted text:

{
  "text": "*Header*\n\n\\> Blockquote\n\n<div\\>HTML in div</div\\>"
}

Resources

Version history

0.1.0

Initial release with basic Markdown to Telegram conversion functionality.

Discussion