markdown2unicode

Crates.iomarkdown2unicode
lib.rsmarkdown2unicode
version0.2.1
sourcesrc
created_at2023-08-19 15:26:43.615809
updated_at2024-08-16 13:47:10.253672
descriptionConverter from markdown notation to unicode characters
homepage
repositoryhttps://github.com/qtfkwk/markdown2unicode
max_upload_size
id948754
size56,877
(qtfkwk)

documentation

README

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.
Commit count: 2

cargo fmt