Giter Club home page Giter Club logo

nf-core-quarto-template's Introduction

Quarto nf-core template

This repository contains a simple Quarto template for use in nf-core HTML reports and nf-core presentations. Quarto works with both Python and R out of the box, as well as for both HTML/PDF reports and revealjs-based presentations.

Installation

If you've already installed Quarto you can install the template like so:

quarto use template fasterius/nf-core-quarto-template

This will install the template (i.e. create the _extensions/ directory in your current location) and create an example .qmd file that you can use as a starting place for your report. You can also just install the template itself without getting the .qmd file like so:

quarto add fasterius/nf-core-quarto-template

Usage

After a successful installation you can use the template by specifying e.g. the HTML format in your YAML header, like so:

...
format:
    nf-core-html: default
...

You can also use the included reveal.js format:

...
format:
    nf-core-revealjs: default
...

The template uses the nf-core colours for e.g. table of contents, inline code and syntax highlighting. You can check the default format specifications in the _extension.yml file, which can be overridden by your own YAML header, like so:

...
format:
    nf-core-html:
        embed-resources: false
        highlight-style: arrow
...

You can find a minimal example in the template.qmd file. While the example is using R and the knitr engine you can easily use a Jupyter kernel instead by specifying e.g. jupyter: python3.

nf-core-quarto-template's People

Contributors

fasterius avatar

Stargazers

Gregor Sturm avatar

Watchers

 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.