Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cstayyab/markdown-to-unicode

A simple library to convert Markdown syntax to Unicode characters.
https://github.com/cstayyab/markdown-to-unicode

convert formatting markdown parser text unicode

Last synced: 14 days ago
JSON representation

A simple library to convert Markdown syntax to Unicode characters.

Awesome Lists containing this project

README

        

# Markdown to Unicode Converter

![NPM Package](https://img.shields.io/npm/v/markdown-to-unicode?style=flat-square&logo=npm&logoColor=white&label=%2Fmarkdown-to-unicode&labelColor=%23cc3534&link=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2Fmarkdown-to-unicode)
![jsDelivr hits (GitHub)](https://img.shields.io/jsdelivr/gh/hy/cstayyab/markdown-to-unicode?style=flat-square&logo=jsdelivr&labelColor=%23df9c26&color=%23e74e3d)
---
A simple library to convert Markdown syntax to Unicode characters.

## Installation

`npm install markdown-to-unicode`

## Usage

```javascript
const convertMarkdownToUnicode = require('markdown-to-unicode');
const unicodeText = convertMarkdownToUnicode("**Hello** *World* and ~~Universe~~");
console.log(unicodeText); // Output the unicode equivalent
```

**Output:**
> π‡πžπ₯π₯𝐨 π‘Šπ‘œπ‘Ÿπ‘™π‘‘ and UΜΆnΜΆiΜΆvΜΆeΜΆrΜΆsΜΆeΜΆ

### Browser Usage
```html

const result = MarkdownToUnicode("**Hello** *World* and ~~Universe~~");
console.log(result);

```

## Roadmap

βœ… **Bold**

βœ… *Italic*

βœ… ~~Strikethrough~~

❎ Blockquote

❎ Unordered List

❎ Horizontal Line

❎ TypeScript Support

βœ… Web Browser Support

❎ Additional Options Support (e.g. Font) for uniform formatting