🚀 Big News:Socket Has Acquired Secure Annex.Learn More
Socket
Book a DemoSign in
Socket

markdown-to-unicode

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

markdown-to-unicode

A simple library to convert Markdown syntax to Unicode characters.

latest
Source
npmnpm
Version
1.0.2
Version published
Weekly downloads
16
-5.88%
Maintainers
1
Weekly downloads
 
Created
Source

Markdown to Unicode Converter

NPM Package jsDelivr hits (GitHub)

A simple library to convert Markdown syntax to Unicode characters.

Installation

npm install markdown-to-unicode

Usage

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

<script src="https://cdn.jsdelivr.net/gh/cstayyab/markdown-to-unicode@main/dist/markdown-to-unicode.js"></script>
<script>
    const result = MarkdownToUnicode("**Hello** *World* and ~~Universe~~");
    console.log(result);
</script>

Roadmap

Bold
Italic
Strikethrough
❎ Blockquote
❎ Unordered List
❎ Horizontal Line
❎ TypeScript Support
❎ Web Browser Support
❎ Additional Options Support (e.g. Font) for uniform formatting

Keywords

markdown

FAQs

Package last updated on 26 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts