mbtify

    I love MoonBit multiline string literals

    Download zip
    Author
    Version
    0.1.2
    License
    Apache-2.0
    Last updated
    4 months ago
    Downloads
    19

    Dependencies

    #sennenki/mbtify

    I LOVE MOONBIT MULTILINE STRING LITERALS!

    This commandline tool helps you prefix the lines in your clipboard with #|. Supports optional idention.

    Usage:

    Usage: mbtify [options] [indent] Arguments: indent Indentation level Options: -h, --help Show help information. -f, --force Force mbtification even if already mbtified -q, --quiet Suppress output -d, --dismbtify Dismbtify the text

    Example. Clipboard data before:

    many lines of texts

    After executing mbtify 2:

    #|many #|lines #|of #|texts

    And then mbtify -d:

    many lines of texts

    dismbtify

    fn dismbtify(text : String) -> String?

    mbtify

    fn mbtify(text : String, indent? : Int, force? : Bool) -> String?

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io