All Projects → jez → Tufte Pandoc Css

jez / Tufte Pandoc Css

Starter files for using Pandoc Markdown with Tufte CSS

Projects that are alternatives of or similar to Tufte Pandoc Css

Pandoc Starter
📄 My pandoc markdown templates and makefiles
Stars: ✭ 443 (+106.05%)
Mutual labels:  markdown, pandoc, writing
Pandoc Sidenote
Convert Pandoc Markdown-style footnotes into sidenotes
Stars: ✭ 78 (-63.72%)
Mutual labels:  markdown, pandoc, writing
Science.md
An easy framework for drafting scientific documents: Write (Markdown), Compile (PDF, Word, HTML), Share.
Stars: ✭ 90 (-58.14%)
Mutual labels:  markdown, pandoc
Markdown Cv
Simple Markdown CV / Resume
Stars: ✭ 97 (-54.88%)
Mutual labels:  markdown, pandoc
Patat
Terminal-based presentations using Pandoc
Stars: ✭ 1,725 (+702.33%)
Mutual labels:  markdown, pandoc
Markdownmonster
An extensible Markdown Editor, Viewer and Weblog Publisher for Windows
Stars: ✭ 1,203 (+459.53%)
Mutual labels:  markdown, writing
Linl
Linl Is Not Letter -- Markdown-based LaTeX Letter Template
Stars: ✭ 84 (-60.93%)
Mutual labels:  markdown, pandoc
Pandiff
Prose diffs for any document format supported by Pandoc
Stars: ✭ 110 (-48.84%)
Mutual labels:  markdown, pandoc
Funbook Old
I have a dream, to be a novelist someday.
Stars: ✭ 65 (-69.77%)
Mutual labels:  markdown, writing
Typemill
TYPEMILL is a simple and lightweight Flat-File-CMS for authors and publishers.
Stars: ✭ 150 (-30.23%)
Mutual labels:  markdown, writing
Pandoc Markdown Template
Markdown templates for Pandoc
Stars: ✭ 135 (-37.21%)
Mutual labels:  markdown, pandoc
Awesome Scientific Writing
⌨️ A curated list of awesome tools, demos and resources to go beyond LaTeX
Stars: ✭ 162 (-24.65%)
Mutual labels:  markdown, pandoc
Ieee Pandoc Template
IEEE paper template for pandoc
Stars: ✭ 76 (-64.65%)
Mutual labels:  markdown, pandoc
Vim Pencil
Rethinking Vim as a tool for writing
Stars: ✭ 1,186 (+451.63%)
Mutual labels:  markdown, writing
Markdeck
presentations as code - author cool slide decks, text-only, offline-ready, collaborative
Stars: ✭ 1,159 (+439.07%)
Mutual labels:  markdown, pandoc
Oscp Exam Report Template Markdown
📙 Markdown Templates for Offensive Security OSCP, OSWE, OSCE, OSEE, OSWP exam report
Stars: ✭ 2,066 (+860.93%)
Mutual labels:  markdown, pandoc
Pandoc Markdown Book Template
A template for creating epub books from markdown using pandoc.
Stars: ✭ 191 (-11.16%)
Mutual labels:  markdown, pandoc
Thiefmd
The markdown editor worth stealing. Inspired by Ulysses, based on code from Quilter
Stars: ✭ 48 (-77.67%)
Mutual labels:  markdown, pandoc
Pandoc Plantuml Filter
Pandoc filter for PlantUML code blocks
Stars: ✭ 51 (-76.28%)
Mutual labels:  markdown, pandoc
Pandoc Action Example
using the pandoc document converter on GitHub Actions
Stars: ✭ 131 (-39.07%)
Mutual labels:  markdown, pandoc

Tufte Pandoc CSS

Starter files for using Pandoc Markdown with Tufte CSS

This project aims to provide a standard set of project starter files for working with Pandoc and Tufte CSS. It features:

  • extra CSS styles for things like tables and syntax highlighted code
  • tweaks to the CSS to get HTML produced by Pandoc to play nicely with Tufte CSS
  • an optional Solarized light color scheme for code blocks
  • a modular separation of these components--you can select which you want
  • an HTML5 template file that sets up the document the way Tufte CSS expects
  • support for lots of Pandoc markdown features, including
    • footnotes as side notes
    • footnotes as margin notes
    • metadata like title, subtitle, date, and author
    • LaTeX using MathJax or KaTeX

Apart from projects like Tufte CSS & Pandoc, the main project that enables this project is pandoc-sidenote, a project which converts Pandoc Markdown-style footnotes ([^1]) into side notes.

Looking to use this with Jekyll?

You might be interested in Tufte Pandoc Jekyll, which wraps the files distributed here into a Jekyll gem-based theme.

Table of Contents

Background

If you haven't already, I encourage you to explore the projects that have been built on top of here:

  • Pandoc - a universal document converter
  • Tufte CSS - style your webpage like Edward Tufte's handouts
  • pandoc-sidenote - convert Pandoc Markdown-style footnotes into sidenotes

Installation

Dependencies

This project is always tested relative to:

  • the most recent master commit of tufte-css.
  • the latest release version of pandoc

In particular, you'll need at least Pandoc version 2.0.

This project is meant to be a set of starter files for your next project. What that ultimately means is that you should use these files however your heart sees fit. In practice, here are some tips for some things you may want to do to get set up.

First, install pandoc-sidenote to your PATH.

  • This lets pandoc compile footnotes into sidenotes.
  • Instructions are on the pandoc-sidenote homepage.

Second, download tufte.css and the et-book/ font folder.

  • Head over to tufte-css to download these.
  • You should be able to work with any version of Tufte CSS, assuming things haven't changed too much.
  • If things don't seem to be working, try using the version stashed in the tufte-css/ folder in this repo (it's a submodule).

Third, there are a number of static files you can download and place where you see fit:

  • tufte.html5
    • This is an HTML5 compatible template for use with Pandoc's --template flag.
    • It sets up the document structure in a way Tufte CSS expects.
  • pandoc.css
    • This CSS file has styles for things like sections, author & date information, highlighted code blocks, and tables.
  • pandoc-solarized.css (optional)
    • This sets up highlighted code blocks to use the Solarized Light color theme
  • tufte-extra.css (optional)
    • This makes some "personal preference" tweaks to Tufte CSS. It is NOT required.

Finally, you'll want the Makefile.

  • The Makefile usage is explained below.

Usage

The best way to learn to use this project is to read the documentation--both online and in the source code. You'll probably want to look through things in this order

  1. The re-implementation of the Tufte CSS homepage in Pandoc Markdown
  • Remember to read the source!
  1. The Tufte Pandoc CSS homepage, which documents the additional features specific to this project.
  • Remember to read the source!
  1. The included [Makefile], which compiles *.md files into *.html files using pandoc with the correct options.
  2. The Pandoc homepage. Not everything you see here will work with this project, but if you think something should work that doesn't, open an issue.
    • You'll probably want to just skim this... it's lengthy!

Once you have an understanding of what Markdown features are available, you can use the Makefile to compile your Markdown files.

For example, this is how we build the homepage for this site:

make docs/index.md

and here's how we build all the site files:

make docs
make

Assuming you've laid out your directory identically to this repo, you can pass the name of any *.md file to convert it into an appropriately named *.html file.

make my-pandoc-markdown-file.md

License

MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].