Enter this in the search box along with your search terms:
user:jaysnoddy
Get all gists from the user santisbon.
user:santisbon
Find all gists with a .yml extension.
extension:yml
Enter this in the search box along with your search terms:
user:jaysnoddy
Get all gists from the user santisbon.
user:santisbon
Find all gists with a .yml extension.
extension:yml
| BUILD_DIR := gen | |
| # pandoc is a handy tool for converting between numerous text formats: | |
| # http://johnmacfarlane.net/pandoc/installing.html | |
| PANDOC := pandoc | |
| # pandoc options | |
| # Liberation fonts: http://en.wikipedia.org/wiki/Liberation_fonts | |
| PANDOC_PDF_OPTS := --toc --chapters --base-header-level=1 --number-sections --template=virsto_doc.tex --variable mainfont="Liberation Serif" --variable sansfont="Liberation Sans" --variable monofont="Liberation Mono" --variable fontsize=12pt --variable documentclass=book | |
| PANDOC_EBOOK_OPTS := --toc --epub-stylesheet=epub.css --epub-cover-image=cover.jpg --base-header-level=1 |
| SLIDES := $(patsubst %.md,%.md.slides.pdf,$(wildcard *.md)) | |
| HANDOUTS := $(patsubst %.md,%.md.handout.pdf,$(wildcard *.md)) | |
| all : $(SLIDES) $(HANDOUTS) | |
| %.md.slides.pdf : %.md | |
| pandoc $^ -t beamer --slide-level 2 -o $@ | |
| %.md.handout.pdf : %.md | |
| pandoc $^ -t beamer --slide-level 2 -V handout -o $@ |
| # Produce PDFs from all Markdown files in a directory | |
| # Lincoln Mullen | http://lincolnmullen.com | [email protected] | |
| # List files to be made by finding all *.md files and appending .pdf | |
| PDFS := $(patsubst %.md,%.md.pdf,$(wildcard *.md)) | |
| # The all rule makes all the PDF files listed | |
| all : $(PDFS) | |
| # This generic rule accepts PDF targets with corresponding Markdown |
| # Makefile | |
| # | |
| # Converts Markdown to other formats (HTML, PDF, DOCX, RTF, ODT, EPUB) using Pandoc | |
| # <http://johnmacfarlane.net/pandoc/> | |
| # | |
| # Run "make" (or "make all") to convert to all other formats | |
| # | |
| # Run "make clean" to delete converted files | |
| # Convert all files in this directory that have a .md suffix |
| # Generate PDFs from the Markdown source files | |
| # | |
| # In order to use this makefile, you need some tools: | |
| # - GNU make | |
| # - Pandoc | |
| # - LuaLaTeX | |
| # - DejaVu Sans fonts | |
| # Directory containing source (Markdown) files | |
| source := src |