#markup-language #text-formatting #pukram #style #bit-manipulation #subscript #operations

pukram-formatting

A type to represent the formatting of the pukram markup language

2 unstable releases

0.2.0 Sep 19, 2024
0.1.0 Aug 6, 2023

#2 in #subscript


Used in 2 crates

MIT/Apache

7KB
65 lines

pukram-formatting provides a Formatting struct that allows combining various text formatting styles commonly used in the pukram markup language.

It supports the following formatting styles:

  • normal
  • *bold*
  • /italic/
  • `mono`
  • ^superscript^
  • |subscript|
  • ^|small|^
  • _underscore_
  • ~strikethrough~

All formattings can be combined using bitwise operations.


lib.rs:

A formatting type to allow combining various text formatting styles:

  • normal
  • *bold*
  • /italic/
  • `mono`
  • ^superscript^
  • |subscript|
  • ^|small|^
  • _underscore_
  • ~strikethrough~

All formattings can be combined using bitwise operations.

Dependencies

~290–770KB
~17K SLoC