All Projects → jez → tufte-pandoc-jekyll

jez / tufte-pandoc-jekyll

Licence: other
A Jekyll theme for using Tufte CSS with Jekyll + Pandoc

Programming Languages

SCSS
7915 projects
HTML
75241 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to tufte-pandoc-jekyll

Pandoc Starter
📄 My pandoc markdown templates and makefiles
Stars: ✭ 443 (+691.07%)
Mutual labels:  writing, pandoc
Tufte Pandoc Css
Starter files for using Pandoc Markdown with Tufte CSS
Stars: ✭ 215 (+283.93%)
Mutual labels:  writing, pandoc
Readteractive
Tool for writing and generating interactive books.
Stars: ✭ 23 (-58.93%)
Mutual labels:  writing, pandoc
awesome-academic-writing
MERGED with https://github.com/writing-resources/awesome-scientific-writing
Stars: ✭ 39 (-30.36%)
Mutual labels:  writing, pandoc
Pandoc Sidenote
Convert Pandoc Markdown-style footnotes into sidenotes
Stars: ✭ 78 (+39.29%)
Mutual labels:  writing, pandoc
my-writing-workflow
Tutorial for converting markdown files in to APA-formatted docs, based on my workflow.
Stars: ✭ 35 (-37.5%)
Mutual labels:  writing, pandoc
content-o-tron
A process for helping the Rust community and new comers to share their story of using Rust 🤖
Stars: ✭ 18 (-67.86%)
Mutual labels:  writing
directory
Plugins and Themes discovery for Jekyll, built with Jekyll.
Stars: ✭ 30 (-46.43%)
Mutual labels:  jekyll-themes
dissertation-story
My philosophy dissertation + cloud backup + version control. Written in plaintext Markdown with Sublime Text 3.
Stars: ✭ 14 (-75%)
Mutual labels:  pandoc
alighieri
A distraction-free tool for novelists and writers
Stars: ✭ 105 (+87.5%)
Mutual labels:  writing
blog
an Octopress blog by Jake Zimmerman
Stars: ✭ 12 (-78.57%)
Mutual labels:  writing
docker-alpine-pandoc-ja
Pandoc for Japanese based on Alpine Linux
Stars: ✭ 14 (-75%)
Mutual labels:  pandoc
Purity
Wiki authoring engine.
Stars: ✭ 41 (-26.79%)
Mutual labels:  writing
rjsmake
Use Markdown to generate a Reveal.js presentation in minutes.
Stars: ✭ 19 (-66.07%)
Mutual labels:  pandoc
writefreely
A clean, Markdown-based publishing platform made for writers. Write together and build a community.
Stars: ✭ 2,866 (+5017.86%)
Mutual labels:  writing
gitwriter
📝 Version control your thoughts
Stars: ✭ 13 (-76.79%)
Mutual labels:  writing
PanBook
Pandoc LaTeX,Epub模板,用于生成书籍,幻灯片(beamer),简历,论文等(cv, thesis, ebook,beamer)
Stars: ✭ 190 (+239.29%)
Mutual labels:  pandoc
WhatATheme
A customizable Jekyll Portfolio theme which supports blogging.
Stars: ✭ 162 (+189.29%)
Mutual labels:  jekyll-themes
dillinger
The last Markdown editor, ever.
Stars: ✭ 7,533 (+13351.79%)
Mutual labels:  writing
pandoc-lecture
This project defines a skeleton repo for creating lecture slides and handouts including lecture notes out of Pandoc Markdown (http://pandoc.org/MANUAL.html) using a single source approach.
Stars: ✭ 72 (+28.57%)
Mutual labels:  pandoc

tufte-pandoc-jekyll

This is a Jekyll theme for using Tufte CSS alongside pandoc-sidenote. It's based off of

You may ask, "What's the difference between this and tufte-jekyll?"

Using pandoc-sidenote, we don't have to use {% sidenote %}...{% sidenote %} and can instead just use [^1] like normal Pandoc markdown.

For a demo, see https://jez.io/talks/.

Installation

There are two external dependencies in order to use this theme. You can install them through your package manager (like apt-get or brew):

# EXAMPLE: This is for macOS. Change if you're on Linux.
# Note: you must have pandoc version 2.0 or greater
brew install pandoc
brew install jez/formulae/pandoc-sidenote

Next, add this line to your Jekyll site's Gemfile:

gem "tufte-pandoc-jekyll"

And add these lines to your Jekyll site's _config.yml:

theme: tufte-pandoc-jekyll

gems:
  - jekyll-pandoc

And then execute:

$ bundle

Or install it yourself as:

$ gem install tufte-pandoc-jekyll

Usage

Note: while tufte-pandoc-css optionally includes the Solarized Light colorscheme, it's enabled by default here, with no easy way to opt-out. This is probably fine for you, but if it's not, feel free to make a PR that allows opting out.

Variables

The following variables are used by this theme.

  • site.title
  • site.author
    • Note that this theme currently only supports one author.
  • site.baseurl
    • Make sure you don't have a trailing slash here
  • site.header_includes
  • page.header_includes
    • You can use these to include raw HTML in the <head>
  • site.include_after
  • page.include_after
    • You can use these to include raw HTML in the <body> before the content
  • site.include_before
  • page.include_before
    • You can use these to include raw HTML in the <body> after the content
  • page.layout
    • Pick one of index, page, or post
    • index won't have a "Return home" link at the bottom of the page
  • page.title
  • page.subtitle
  • page.date
  • page.keywords
  • page.math
    • If true, we'll include KaTeX for displaying math formulas

_config.yml

You'll need to update your _config.yml to compile the site using Pandoc. Make sure you've followed the installation instructions.

gems:
  - jekyll-pandoc

markdown: Pandoc
pandoc:
  extensions:
    - section-divs
    - from: 'markdown+tex_math_single_backslash'
    - filter: 'pandoc-sidenote'

Optional: remove section-divs if you want to insert <section> tags manually.

Developing

To make a release:

vim tufte-pandoc-jekyll.gemspec
git commit tufte-pandoc-jekyll.gemspec -m 'Bump version'
git tag "$version"
git push --tags origin master
gem build tufte-pandoc-jekyll.gemspec
gem push "tufte-pandoc-jekyll-$version.gem"

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].