{"id":48289642,"url":"https://github.com/idiv-biodiversity/pandoc-cheat-sheet","last_synced_at":"2026-04-04T23:02:01.866Z","repository":{"id":65650218,"uuid":"123583303","full_name":"idiv-biodiversity/pandoc-cheat-sheet","owner":"idiv-biodiversity","description":"cheat sheet templates for pandoc","archived":false,"fork":false,"pushed_at":"2024-08-07T07:18:08.000Z","size":25,"stargazers_count":24,"open_issues_count":1,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-07T11:01:08.810Z","etag":null,"topics":["cheat-sheet","cheat-sheets","cheatsheet","cheatsheets","pandoc","pandoc-templates","refcard"],"latest_commit_sha":null,"homepage":null,"language":"TeX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc-by-sa-4.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/idiv-biodiversity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-02T13:37:23.000Z","updated_at":"2024-08-07T07:18:11.000Z","dependencies_parsed_at":"2024-08-07T10:53:13.126Z","dependency_job_id":"1ed91cc1-3b7a-4a4a-b2b2-32498b3e4fe7","html_url":"https://github.com/idiv-biodiversity/pandoc-cheat-sheet","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/idiv-biodiversity/pandoc-cheat-sheet","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idiv-biodiversity%2Fpandoc-cheat-sheet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idiv-biodiversity%2Fpandoc-cheat-sheet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idiv-biodiversity%2Fpandoc-cheat-sheet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idiv-biodiversity%2Fpandoc-cheat-sheet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/idiv-biodiversity","download_url":"https://codeload.github.com/idiv-biodiversity/pandoc-cheat-sheet/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/idiv-biodiversity%2Fpandoc-cheat-sheet/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31418287,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cheat-sheet","cheat-sheets","cheatsheet","cheatsheets","pandoc","pandoc-templates","refcard"],"created_at":"2026-04-04T23:01:57.388Z","updated_at":"2026-04-04T23:02:01.859Z","avatar_url":"https://github.com/idiv-biodiversity.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"Pandoc Cheat Sheet Templates\n============================\n\nThis project contains cheat sheet templates to be used with pandoc. Cheat sheets try to fit as much content as possible onto few pages. Both the LaTeX and the HTML template utilize **columns** to achieve that.\n\n\u003c!-- toc --\u003e\n\n- [Variables](#variables)\n- [Usage](#usage)\n  * [PDF](#pdf)\n  * [HTML](#html)\n  * [Makefile](#makefile)\n  * [git submodule](#git-submodule)\n\n\u003c!-- tocstop --\u003e\n\nVariables\n---------\n\nThe variables are more or less what you expect from the default pandoc templates.\n\nSome variables have been purposefully removed to keep both the template codes and the output comparatively simple. The original templates were very general, but for a cheat sheet we don't need that much functionality. Notable removals from the default templates include:\n\n- abstract\n- table of contents\n- bibliography\n- everything regarding LaTeX beamer\n\nThere have only been a very few additions. An example variable template containing these can be found in the `example-variables.yml` file. This file contains comments to explain why these variables should be used as default.\n\nUsage\n-----\n\nThe templates support both PDF documents and HTML web pages. This way, you can easily create both with just a single input file. The examples use Markdown as the input file format.\n\n### PDF\n\nCreate the PDF cheat sheet:\n\n```bash\npandoc                                \\\n  --standalone                        \\\n  --from=markdown+yaml_metadata_block \\\n  --template=cheat-sheet.tex          \\\n  --pdf-engine=xelatex                \\\n  -o my-topic-cheat-sheet.pdf         \\\n  my-topic-cheat-sheet.yml            \\\n  my-topic-cheat-sheet.md\n```\n\n### HTML\n\nCreate the HTML cheat sheet:\n\n```bash\npandoc                                \\\n  --standalone                        \\\n  --from=markdown+yaml_metadata_block \\\n  --template=cheat-sheet.html         \\\n  -o my-topic-cheat-sheet.html        \\\n  my-topic-cheat-sheet.yml            \\\n  my-topic-cheat-sheet.md\n```\n\nYou can open this page locally or put in on a web server.\n\n### Makefile\n\nBecause these pandoc command-lines are long and cumbersome to write, there is also a very generic `Makefile` contained in this repository. Assuming your input file ends in `-cheat-sheet.md`, e.g. `my-topic-cheat-sheet.md`, then you just need to type `make` to create all cheat sheet variants.\n\n#### Printer friendly version\n\nFor cheat sheets with no colored links or monospaced font, it is also possible to create a printer friendly version of a cheat sheet. Just call `make print` and all cheat sheet variants will be created with a `-print.pdf` or `-print.html` filename suffix.\n\nAnytime you change either one of the sources, i.e. your Markdown file, the YAML metadata file or one of the templates, just retype `make` or `make print`, respectively, and it will rebuild the files whose sources changed.\n\n### git submodule\n\nThis is how you would create a fresh project and add cheat sheet as a git submodule:\n\n```bash\n# create a new project\nmkdir topic-cheat-sheet\ncd topic-cheat-sheet\ngit init\n\n# create dummy content\necho '# cheat sheet about topic' \u003e topic-cheat-sheet.md\ngit stage topic-cheat-sheet.md\n\n# add submodule\ngit submodule add https://github.com/idiv-biodiversity/pandoc-cheat-sheet.git\n\n# link the cheat sheet files into your project\nln -s -t . pandoc-cheat-sheet/cheat-sheet.* pandoc-cheat-sheet/Makefile\ngit stage cheat-sheet.* Makefile\n\n# copy the metadata template to your project\ncp pandoc-cheat-sheet/example-variables.yml topic-cheat-sheet.yml\ngit stage topic-cheat-sheet.yml\n\n# ignore the cheat sheet products\necho topic-cheat-sheet.html \u003e\u003e .gitignore\necho topic-cheat-sheet.pdf  \u003e\u003e .gitignore\necho topic-cheat-sheet.tex  \u003e\u003e .gitignore\ngit stage .gitignore\n\n# create the cheat sheets\nmake\n\n# done, review the cheat sheets and make a git commit when you're ready:\n# - xdg-open topic-cheat-sheet.html\n# - xdg-open topic-cheat-sheet.pdf\n# - git commit -m 'initial commit'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidiv-biodiversity%2Fpandoc-cheat-sheet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fidiv-biodiversity%2Fpandoc-cheat-sheet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fidiv-biodiversity%2Fpandoc-cheat-sheet/lists"}