Skip to content

Latest commit

 

History

History
16 lines (9 loc) · 641 Bytes

File metadata and controls

16 lines (9 loc) · 641 Bytes

AuditionText

Show and switch between different phrases in your writing. Here's a live demo.

Syntax

This works by looking for strings formatted like so:

This is a sentence that contains {fragment a/fragment b/fragment c}.

The alternate fragments are displayed above the selected one.

Caveats

This is all very janky / proof-of-concept so feel free to MAKE THIS BETTER. For example, the function will allow you to insert HTML and do all kinds of mean things. I guess you could strip out the < and > characters or something – YOU TELL ME, SMARTYPANTS.