Skip to main content

Silly output formatting plugin for Plover

Project description

This is a plugin for the open source stenography program Plover

Requires Plover version 4.0.0 or later

https://github.com/psethwick/plover_fancytext/workflows/Tests/badge.svg https://img.shields.io/pypi/v/plover_fancytext.svg https://img.shields.io/pypi/dm/plover_fancytext.svg

What it does

Allows you to use Plover to write fancy text

Transformers:

  • blackboardbold: 𝔹𝕝𝕒𝕔𝕜𝕓𝕠𝕒𝕣𝕕 𝔹𝕠𝕝𝕕, 𝕒𝕜𝕒 𝔻𝕠𝕦𝕓𝕝𝕖 𝕊𝕥𝕣𝕦𝕔𝕜

  • bubble: ⓑⓤⓑⓑⓛⓔ

  • crytyping: I’ finne,,, h ddon’nt w,,,orry about me, re,,el yy

  • fullwidth: vaporwave

  • medieval: 𝕸𝖊𝖉𝖎𝖊𝖛𝖆𝖑

  • morse: … — …

  • sarcasm: wELl ThIs IS cONvEnIeNt

  • script: 𝓢𝓬𝓻𝓲𝓹𝓽 𝓯𝓸𝓻 𝓽𝓱𝓪𝓽 𝓱𝓪𝓷𝓭𝔀𝓻𝓲𝓽𝓽𝓮𝓷 𝓵𝓸𝓸𝓴

  • smallcaps: Sᴍᴀʟʟ Cᴀᴘs

  • upsidedown: ndsᴉpǝ poʍu

  • uwu: Hewwoooo <3 this aww you nyeed.

  • UwU: uwuwuwu, buwut mowe :3 Nyote that this may get in the way of conwewsations :3 :3 :3

  • zalgo: z̓ä́l̘g̩̚o͡t́èx͓͠ẗ̬

  • figlet:

MMMMMMMM               MMMMMMMM
M:::::::M             M:::::::M
M::::::::M           M::::::::M
M:::::::::M         M:::::::::M
M::::::::::M       M::::::::::M   ooooooooooo      ooooooooooo
M:::::::::::M     M:::::::::::M oo:::::::::::oo  oo:::::::::::oo
M:::::::M::::M   M::::M:::::::Mo:::::::::::::::oo:::::::::::::::o
M::::::M M::::M M::::M M::::::Mo:::::ooooo:::::oo:::::ooooo:::::o
M::::::M  M::::M::::M  M::::::Mo::::o     o::::oo::::o     o::::o
M::::::M   M:::::::M   M::::::Mo::::o     o::::oo::::o     o::::o
M::::::M    M:::::M    M::::::Mo::::o     o::::oo::::o     o::::o
M::::::M     MMMMM     M::::::Mo::::o     o::::oo::::o     o::::o
M::::::M               M::::::Mo:::::ooooo:::::oo:::::ooooo:::::o
M::::::M               M::::::Mo:::::::::::::::oo:::::::::::::::o
M::::::M               M::::::M oo:::::::::::oo  oo:::::::::::oo
MMMMMMMM               MMMMMMMM   ooooooooooo      ooooooooooo

Installing

  1. Open Plover

  2. Navigate to the Plugin Manager tool

  3. Select ‘plover_fancytext’ in the list

  4. Click install

  5. Restart Plover

  6. If you just want the retro commands, you’re done!

Extra steps for the extension plugin (which enables the {:fancytext_set:<transformer>} commands):

  1. In the Configure menu, navigate to the plugins section

  2. Enable ‘plover_fancytext’ and apply

Usage

You can either apply transformations with {:fancytext_retro:<number of words>:<transformer>} which will replace <number of words> retroactively with fancy text. Example: {:fancytext_retro:2:bubble} to bubble-ize the last two words.

Or you can use {:fancytext_set:<transformer>} to turn on a mode until you turn it back off!

The format is {:fancytext_set:<mode>} to turn on the mode and simply {:fancytext_set:off} to turn off any mode.

Here’s what I use (23*9 is more easily read as #TP*T):

{
"23*9": "{:fancytext_set:off}",
"23*9/PW-UB": "{:fancytext_set:bubble}",
"23*9/KRAO-EU": "{:fancytext_set:crytyping}",
"23*9/SRA-EUP": "{:fancytext_set:fullwidth}",
"23*9/PH-ED": "{:fancytext_set:medieval}",
"23*9/SA-RBG": "{:fancytext_set:sarcasm}",
"23*9/-UP": "{:fancytext_set:upsidedown}",
"23*9/AO-U": "{:fancytext_set:uwu}",
"23*9/AO*U": "{:fancytext_set:UwU}",
"23*9/STKPWA-L": "{:fancytext_set:zalgo}"
}

Mode Notes

It’s worth noting that these modes will not always work with Plover’s orthography rules. Some modes will be more wrong than others

The z̶͉a̕l̬ḡ͙o̕ m͏̎o̬̪d̜e̝̹ can also take two arguments for the minimum and maximum number of combining marks. Example {:fancytext_set:zalgo:10:15} for quite a lot of z͙͕̹̩̀͑ͮ̇̉ͣ̄͋̕ȃ̵̝͎̘̬͙̖̼͆ͤ̕͝ͅ l̵̤̟̜͎͍̠̭̽̿͂ͬͩ͜ģ̲͈͍̔ͩ̀ͣͬ̉ͨ̕̚͝o̴̢̓̓ͦ̈́̂̆͛ͭͣ. For reference the default is min=1, max=3

You may want the  full width mode to use a full-width space. This can be done by setting space in the same entry: {:fancytext_set:fullwidth}{MODE:SET_SPACE: }. If you do this you’ll probably also want to add {MODE:RESET} to your entry which turns off the mode

This trick can also be applied to the upside down mode. Include unicode 202e (right to left mark) as well as a space character for um, a good time. You’ll definitely want {MODE:RESET} on this one, and you might want to add unicode 202d (left to right mark) to it as well. You don’t want to use these marks anywhere where text needs to be precisely correct, but should be fine in many places. I’ve not included it as part of the mode because it is definitely an acquired taste and can end up with you having text backwards after you turn the mode off

Figlet is only set up to work with fancytext_retro. This is because the output is multi-line text for individual words. It takes a font argument, you can use most figlet fonts

Contributing

Want a new mode? Having problems?

Head to the open source repository

Feel free to:

  • Raise an issue

  • Open a pull request, new modes accepted!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plover_fancytext-1.8.0.tar.gz (28.8 kB view details)

Uploaded Source

Built Distribution

plover_fancytext-1.8.0-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

Details for the file plover_fancytext-1.8.0.tar.gz.

File metadata

  • Download URL: plover_fancytext-1.8.0.tar.gz
  • Upload date:
  • Size: 28.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for plover_fancytext-1.8.0.tar.gz
Algorithm Hash digest
SHA256 de6af247e52858a78cca3f64cd8ffa4f3202c1839a4df0bf60a636b219041a10
MD5 090b78c23104a9a8d4abb8f55e613363
BLAKE2b-256 ce6ddfb9b5487bb61a7329b961cc327c90f908ded0e27eb9dc2db221273cd720

See more details on using hashes here.

File details

Details for the file plover_fancytext-1.8.0-py3-none-any.whl.

File metadata

  • Download URL: plover_fancytext-1.8.0-py3-none-any.whl
  • Upload date:
  • Size: 29.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for plover_fancytext-1.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 03047229a5bf59feb8c5471178eb8337b46856eeba3125a4d33e82c055fc2a26
MD5 6a7c08ae4068cfab8273f7a8d37d19d6
BLAKE2b-256 272e234883879290f7c4e86ce43cb3a67c25adb42801139bd313b41e7459ab21

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page