Giter Site home page Giter Site logo

quaderno-templates's Introduction

Quaderno-Templates

What is it

Using Quaderno-Templates, you can turn any HTML page into your documents template with just a few simple tags!

Quaderno-Templates is based on [Liquid] (http://liquidmarkup.org/), a template engine widely used and created by [Shopify] (http://www.shopify.com).

Here is an example you can use to start with:

<html>
<head>  
  <title>{{document.number}}</title>  
</head>
<body>
  {% if account.logo_url != "" %}
    <img src="{{account.logo_url}}" width="150" />
  {% endif %}
  <h1>{{title}}</h1>
  <table>
    {% for item in document.items %}
      <tr>
        <td>{{item.description}}</td>
        <td>{{item.quantity}}</td>
        <td class="right">{{item.unit_price}}</td>
        <td class="right">{{item.subtotal}}</td>
      </tr>
    {% endfor %}
  </table>
</body>
</html>

You can download a complete and functional example [here] (https://raw.github.com/recrea/quaderno-templates/master/professional.html).

Usage

Please note that you should have knowledge of the (very) basics of HTML and CSS.

And that is pretty much all! You may now start creating your own documents in Quaderno!

More information

quaderno-templates's People

Contributors

qweos avatar jorgerdg avatar xxswingxx 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.