Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/cstayyab/markdown-to-unicode
- Owner: cstayyab
- License: mit
- Created: 2023-10-26T07:47:02.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-20T13:59:12.000Z (3 months ago)
- Last Synced: 2024-10-12T10:11:28.386Z (28 days ago)
- Topics: convert, formatting, markdown, parser, text, unicode
- Language: JavaScript
- Homepage: https://markdown-to-unicode.vercel.app/
- Size: 171 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```htmlconst 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