JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 14709
  • Score
    100M100P100Q148360F
  • License MIT

Convert markdown into Telegram-specific markdown

Package Exports

  • telegramify-markdown

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (telegramify-markdown) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Telegramify-Markdown

CircleCI

Telegramify-Markdown is a Markdown to Telegram-specific-markdown converter, based on Unified and Remark.

Install

npm install telegramify-markdown

Usage

const telegramifyMarkdown = require('telegramify-markdown');
const markdown = `
# List of items

* item 1
* item 2
* item 3

[here is an example.](https://example.com)
`;

telegramifyMarkdown(markdown);
/*
 *List of items*

 • item 1
 • item 2
 • item 3

 [here is an example\.](https://example.com)
/
*

MIT Licence