Git Product home page Git Product logo

memplate's Introduction

NAME
    memplate - command line tool for (code) templating.

SYNOPSIS
    memplate [alias]

DESCRIPTION
    Memplate is a command line tool for templating.

    It introduces a minimal syntax and has sane defaults that make weaving
    code easier by respecting code indentation.

EXAMPLES
    Defining the alias will store the stdin to that alias.

        echo hello | memplate hello
        echo world | memplate world

    The template is rendered when the alias is not defined.

        echo '<hello
        <world' | memplate

    The rendered result:

        hello
        world

    You can escape the < by escaping it with \:

        \<body>

        <body>

ISSUES
    *   Does not allow changing the `<` prefix. This might be convenient
        when working with certain languages like HTML.

    Unknown issues and bugs can be reported over at
    https://github.com/bas080/memplate/issues.

AUTHOR
    Written by Bassim Huis.

memplate's People

Contributors

bas080 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.