Socket
Book a DemoInstallSign 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.

1.0.2
latest
Source
npmnpm
Version published
Weekly downloads
2
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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.