Home

Awesome

ReLaXed examples

This repository contains examples of PDF documents written with ReLaXed v0.1.8.

It demonstrates how the Pug and SCSS languages can be advantageously used to create a wide variety of reusable document layouts while keeping a clarity of the source close to Markdown.

<table> <tr align="center"> <td width="25%"> <img src="https://github.com/RelaxedJS/ReLaXed-examples/raw/master/examples/book/book_screenshot.png" /> Book - <a href="https://github.com/RelaxedJS/ReLaXed-examples/tree/master/examples/book/"> source </a> / <a href="https://github.com/RelaxedJS/ReLaXed-examples/blob/master/examples/book/book.pdf"> PDF </a> </td> <td width="25%"> <img src="https://github.com/RelaxedJS/ReLaXed-examples/raw/master/examples/letter/letter_screenshot.png" /> Letter - <a href="https://github.com/RelaxedJS/ReLaXed-examples/tree/master/examples/letter/"> Source </a> / <a href="https://github.com/RelaxedJS/ReLaXed-examples/blob/master/examples/letter/letter.pdf"> PDF </a> </td> <td width="25%"> <img src="https://github.com/RelaxedJS/ReLaXed-examples/raw/master/examples/resume/resume_screenshot.png" /> Resume - <a href="https://github.com/RelaxedJS/ReLaXed-examples/tree/master/examples/resume/"> Source </a> / <a href="https://github.com/RelaxedJS/ReLaXed-examples/blob/master/examples/resume/resume.pdf"> PDF </a> </td> <td width="25%"> <img src="https://github.com/RelaxedJS/ReLaXed-examples/raw/master/examples/business-card/businesscard_screenshot.png" /> Visit card - <a href="https://github.com/RelaxedJS/ReLaXed-examples/tree/master/examples/business-card/"> Source </a> / <a href="https://github.com/RelaxedJS/ReLaXed-examples/blob/master/examples/business-card/business-card.pdf"> PDF </a> </td> </tr> </table> <table> <tr align="center"> <td width="25%"> <img src="https://github.com/RelaxedJS/ReLaXed-examples/raw/master/examples/slides/slides_screenshot.png" /> Slides - <a href="https://github.com/RelaxedJS/ReLaXed-examples/tree/master/examples/slides/"> Source </a> / <a href="https://github.com/RelaxedJS/ReLaXed-examples/blob/master/examples/slides/slides.pdf"> PDF </a> </td> <td width="25%"> <img src="https://github.com/RelaxedJS/ReLaXed-examples/raw/master/examples/report/report_screenshot.png" /> Report - <a href="https://github.com/RelaxedJS/ReLaXed-examples/tree/master/examples/report/"> Source </a> / <a href="https://github.com/RelaxedJS/ReLaXed-examples/blob/master/examples/report/report.pdf"> PDF </a> </td> <td width="25%"> <img src="https://github.com/RelaxedJS/ReLaXed-examples/raw/master/examples/paper/paper_screenshot.png" /> Paper - <a href="https://github.com/RelaxedJS/ReLaXed-examples/tree/master/examples/paper/"> Source </a> / <a href="https://github.com/RelaxedJS/ReLaXed-examples/blob/master/examples/paper/paper.pdf"> PDF </a> </td> <td width="25%"> <img src="https://github.com/RelaxedJS/ReLaXed-examples/raw/master/examples/poster/poster_screenshot.png" /> Poster - <a href="https://github.com/RelaxedJS/ReLaXed-examples/tree/master/examples/poster/"> Source </a> / <a href="https://github.com/RelaxedJS/ReLaXed-examples/blob/master/examples/poster/poster.pdf"> PDF </a> </td> </tr> </table>

Get started

First install ReLaXed, then clone or download this repository and start a session from the terminal by pointing ReLaXed to the master document of a project:

relaxed examples/report/report.pug

Now every time a file changes in the report/ folder, a PDF document report.pdf will be generated.

Real-life examples

Here are some examples of documents made with ReLaXed. If you've made nice stuff with ReLaXed, it could be added here.

<table> <tr align="center"> <td width="50%"> <a href="https://github.com/Edinburgh-Genome-Foundry/egf-shared-documents/blob/master/slideshows/eastbio_dundee_2018/sample.pdf"> <img src="https://github.com/Edinburgh-Genome-Foundry/egf-shared-documents/raw/master/slideshows/eastbio_dundee_2018/talk_screenshot.jpeg" /> </a> DNA Assembly is Not for You - <a href="https://github.com/Edinburgh-Genome-Foundry/egf-shared-documents/tree/master/slideshows/eastbio_dundee_2018/"> source </a> / <a href="https://github.com/Edinburgh-Genome-Foundry/egf-shared-documents/raw/master/slideshows/eastbio_dundee_2018/sample.pdf"> PDF </a> </td> <td width="50%"> <a href="https://github.com/Edinburgh-Genome-Foundry/egf-shared-documents/blob/master/slideshows/bbsrc_skills_school_2018/sample.pdf"> <img src="https://github.com/Edinburgh-Genome-Foundry/egf-shared-documents/raw/master/slideshows/bbsrc_skills_school_2018/talk_screenshot.jpeg" /> </a> Cloud Biology - <a href="https://github.com/Edinburgh-Genome-Foundry/egf-shared-documents/tree/master/slideshows/bbsrc_skills_school_2018/"> source </a> / <a href="https://github.com/Edinburgh-Genome-Foundry/egf-shared-documents/raw/master/slideshows/bbsrc_skills_school_2018/sample.pdf"> PDF </a> <td/> </tr> </table> <table> <tr align="center"> <td width="50%"> <a href="https://github.com/Edinburgh-Genome-Foundry/egf-shared-documents/blob/master/courses_material/order_of_the_meo_array/sample.pdf"> <img src="https://github.com/Edinburgh-Genome-Foundry/egf-shared-documents/raw/master/courses_material/order_of_the_meo_array/screenshot.jpeg" /> </a> The Order of the MEO Array <a href="https://github.com/Edinburgh-Genome-Foundry/egf-shared-documents/tree/master/courses_material/order_of_the_meo_array/"> source </a> / <a href="https://github.com/Edinburgh-Genome-Foundry/egf-shared-documents/raw/master/courses_material/order_of_the_meo_array/sample.pdf"> PDF </a> </td> <td width="50%"> <a href="https://github.com/ohrie/relaxed-resume/blob/master/content.pdf"> <img width="80%" src="https://raw.githubusercontent.com/ohrie/relaxed-resume/master/example.png" /> </a><br/><br/> Resume <a href="https://github.com/ohrie/relaxed-resume"> source </a> / <a href="https://github.com/ohrie/relaxed-resume/blob/master/content.pdf"> PDF </a> <td/> </tr> </table>