#unicode-characters #markdown #convert-markdown #markdown-text #spans #unicode-text #converter

bin+lib markdown2unicode

Converter from markdown notation to unicode characters

3 unstable releases

0.2.1 Aug 16, 2024
0.2.0 Jul 23, 2024
0.1.0 Aug 19, 2023

#1858 in Text processing

Download history 25/week @ 2024-12-10

142 downloads per month

GPL-3.0-only

20KB
157 lines

About

Rust port of USBashka's markdown2unicode.

Converts simple Markdown text to Unicode

  • *Emphasis* => 𝘌𝘮𝘱𝘩𝘢𝘴𝘪𝘴
  • **Strong** => 𝐒𝐭𝐫𝐨𝐧𝐠
  • ***Emphasis*** => 𝑬𝒎𝒑𝒉𝒂𝒔𝒊𝒔 𝒔𝒕𝒓𝒐𝒏𝒈
  • `Code span` => 𝙲𝚘𝚍𝚎 𝚜𝚙𝚊𝚗

NOTE: This crate is superceded by unidown. Please use it instead of this one.

Usage

$ markdown2unicode -h
Converter from markdown notation to unicode characters

Usage: markdown2unicode [OPTIONS] [STRING]...

Arguments:
  [STRING]...  Markdown string(s)

Options:
  -i <PATH>      Input file(s)
  -h, --help     Print help
  -V, --version  Print version
$ markdown2unicode -V
markdown2unicode 0.2.0

Examples

$ markdown2unicode 'Here is some *emphasis*, **strong**, ***strong emphasis***, ~~strike~~, and `code` text.'
Here is some 𝘦𝘮𝘱𝘩𝘢𝘴𝘪𝘴, 𝐬𝐭𝐫𝐨𝐧𝐠, 𝒔𝒕𝒓𝒐𝒏𝒈 𝒆𝒎𝒑𝒉𝒂𝒔𝒊𝒔, ~~strike~~, and 𝚌𝚘𝚍𝚎 text.

Dependencies

~3–11MB
~150K SLoC

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy