{"id":20613855,"url":"https://github.com/mmesch/pandocmax","last_synced_at":"2026-04-17T18:32:14.356Z","repository":{"id":149407428,"uuid":"497645910","full_name":"MMesch/pandocMax","owner":"MMesch","description":"Pandoc preconfigured with a bunch of filters for diagramming tools. Use with Nix!","archived":false,"fork":false,"pushed_at":"2023-04-01T06:45:19.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-17T04:09:25.705Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MMesch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-05-29T16:29:18.000Z","updated_at":"2023-04-01T06:13:21.000Z","dependencies_parsed_at":"2023-09-03T22:35:53.617Z","dependency_job_id":null,"html_url":"https://github.com/MMesch/pandocMax","commit_stats":null,"previous_names":["mmesch/pandocmax"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MMesch%2FpandocMax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MMesch%2FpandocMax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MMesch%2FpandocMax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MMesch%2FpandocMax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MMesch","download_url":"https://codeload.github.com/MMesch/pandocMax/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242268575,"owners_count":20100066,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-11-16T11:11:16.458Z","updated_at":"2026-04-17T18:32:14.321Z","avatar_url":"https://github.com/MMesch.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\ntitle: PandoxMax\nsubtitle: ... and subtitle\nclassoption:\n  - a4paper\n  - 12pt\nmainfont: DejaVu Serif\nsansfont: DejaVu Sans\ndocumentclass: scrartcl\nauthor: The author name goes here\ngeometry: \"left=4cm, right=3cm, top=2.5cm, bottom=2.5cm\"\nnumbersections: true\n---\n\n---\nabstract: |\n\n    This flake provides a Pandoc preconfigured with a bunch of filters, among them dgram to plot a variety of diagrams, citations, tables, multi columns and more.\n\n---\n\n# Intro {#sec:intro}\n\nTo use this template, open a new folder and type: `nix run github:mmesch/pandocMax -- \u003cyour-options-here\u003e`.\n\n# Citations\n\nYou can use citations [@nixosWebsite] and references to sections, e.g. to sec [@sec:intro], figures, etc ...\n\n# Table\n\n```{.table type=\"pipe\" source=\"data.csv\"}\n```\n\n# Diagrams\n\n## Plantuml\n\n```{.dgram converter=Plantuml filetype=png width=50% showcode=true}\n@startuml\nscale 400\n!include \u003cC4/C4_Container\u003e\n\nPerson(personAlias, \"Label\", \"Optional Description\")\nContainer(containerAlias, \"Label\", \"Technology\", \"Optional Description\")\nSystem(systemAlias, \"Label\", \"Optional Description\")\n\nSystem_Ext(extSystemAlias, \"Label\", \"Optional Description\")\n\nRel(personAlias, containerAlias, \"Label\", \"Optional Technology\")\n\nRel_U(systemAlias, extSystemAlias, \"Label\", \"Optional Technology\")\n@enduml\n```\n## Graphviz\n\n``` {.dgram converter=GraphViz}\ndigraph mygraph {\n  fontname=\"Helvetica,Arial,sans-serif\"\n  node [fontname=\"Helvetica,Arial,sans-serif\"]\n  edge [fontname=\"Helvetica,Arial,sans-serif\"]\n  node [shape=box];\n  \"//absl/random:random\"\n  \"//absl/random:random\" -\u003e \"//absl/random:distributions\"\n  \"//absl/random:random\" -\u003e \"//absl/random:seed_sequences\"\n  \"//absl/random:random\" -\u003e \"//absl/random/internal:pool_urbg\"\n  \"//absl/random:random\" -\u003e \"//absl/random/internal:nonsecure_base\"\n  \"//absl/random:distributions\"\n  \"//absl/random:distributions\" -\u003e \"//absl/strings:strings\"\n  \"//absl/random:seed_sequences\"\n  \"//absl/random:seed_sequences\" -\u003e \"//absl/random/internal:seed_material\"\n  \"//absl/random:seed_sequences\" -\u003e \"//absl/random/internal:salted_seed_seq\"\n  \"//absl/random:seed_sequences\" -\u003e \"//absl/random/internal:pool_urbg\"\n  \"//absl/random:seed_sequences\" -\u003e \"//absl/random/internal:nonsecure_base\"\n  \"//absl/random/internal:nonsecure_base\"\n  \"//absl/random/internal:nonsecure_base\" -\u003e \"//absl/random/internal:pool_urbg\"\n  \"//absl/random/internal:nonsecure_base\" -\u003e \"//absl/random/internal:salted_seed_seq\"\n  \"//absl/random/internal:nonsecure_base\" -\u003e \"//absl/random/internal:seed_material\"\n  \"//absl/random/internal:pool_urbg\"\n  \"//absl/random/internal:pool_urbg\" -\u003e \"//absl/random/internal:seed_material\"\n  \"//absl/random/internal:salted_seed_seq\"\n  \"//absl/random/internal:salted_seed_seq\" -\u003e \"//absl/random/internal:seed_material\"\n  \"//absl/random/internal:seed_material\"\n  \"//absl/random/internal:seed_material\" -\u003e \"//absl/strings:strings\"\n  \"//absl/strings:strings\"\n}\n```\n\n## Mermaid\n\n```{.dgram converter=Mermaid filetype=pdf}\nflowchart LR\nA[Hard] --\u003e|Text| B(Round)\nB --\u003e C{Decision}\nC --\u003e|One| D[Result 1]\nC --\u003e|Two| E[Result 2]\n```\n\n## Vegalite\n\n``` {.dgram converter=VegaLite filetype=pdf extraOptions=\"-s0.25\"}\n{\n  \"$schema\": \"https://vega.github.io/schema/vega-lite/v5.json\",\n  \"description\": \"A simple bar chart with embedded data.\",\n  \"data\": {\n    \"values\": [\n      {\"a\": \"A\", \"b\": 28}, {\"a\": \"B\", \"b\": 55}, {\"a\": \"C\", \"b\": 43},\n      {\"a\": \"D\", \"b\": 91}, {\"a\": \"E\", \"b\": 81}, {\"a\": \"F\", \"b\": 53},\n      {\"a\": \"G\", \"b\": 19}, {\"a\": \"H\", \"b\": 87}, {\"a\": \"I\", \"b\": 52}\n    ]\n  },\n  \"mark\": \"bar\",\n  \"encoding\": {\n    \"x\": {\"field\": \"a\", \"type\": \"nominal\", \"axis\": {\"labelAngle\": 0}},\n    \"y\": {\"field\": \"b\", \"type\": \"quantitative\"}\n  }\n}\n```\n\n## Vega\n\n``` {.dgram converter=Vega filetype=pdf}\n{\n  \"$schema\": \"https://vega.github.io/schema/vega/v5.json\",\n  \"description\": \"A basic area chart example.\",\n  \"width\": 500,\n  \"height\": 200,\n  \"padding\": 5,\n\n  \"signals\": [\n    {\n      \"name\": \"interpolate\",\n      \"value\": \"monotone\",\n      \"bind\": {\n        \"input\": \"select\",\n        \"options\": [\n          \"basis\",\n          \"cardinal\",\n          \"catmull-rom\",\n          \"linear\",\n          \"monotone\",\n          \"natural\",\n          \"step\",\n          \"step-after\",\n          \"step-before\"\n        ]\n      }\n    }\n  ],\n\n  \"data\": [\n    {\n      \"name\": \"table\",\n      \"values\": [\n        {\"u\": 1,  \"v\": 28}, {\"u\": 2,  \"v\": 55},\n        {\"u\": 3,  \"v\": 43}, {\"u\": 4,  \"v\": 91},\n        {\"u\": 5,  \"v\": 81}, {\"u\": 6,  \"v\": 53},\n        {\"u\": 7,  \"v\": 19}, {\"u\": 8,  \"v\": 87},\n        {\"u\": 9,  \"v\": 52}, {\"u\": 10, \"v\": 48},\n        {\"u\": 11, \"v\": 24}, {\"u\": 12, \"v\": 49},\n        {\"u\": 13, \"v\": 87}, {\"u\": 14, \"v\": 66},\n        {\"u\": 15, \"v\": 17}, {\"u\": 16, \"v\": 27},\n        {\"u\": 17, \"v\": 68}, {\"u\": 18, \"v\": 16},\n        {\"u\": 19, \"v\": 49}, {\"u\": 20, \"v\": 15}\n      ]\n    }\n  ],\n\n  \"scales\": [\n    {\n      \"name\": \"xscale\",\n      \"type\": \"linear\",\n      \"range\": \"width\",\n      \"zero\": false,\n      \"domain\": {\"data\": \"table\", \"field\": \"u\"}\n    },\n    {\n      \"name\": \"yscale\",\n      \"type\": \"linear\",\n      \"range\": \"height\",\n      \"nice\": true,\n      \"zero\": true,\n      \"domain\": {\"data\": \"table\", \"field\": \"v\"}\n    }\n  ],\n\n  \"axes\": [\n    {\"orient\": \"bottom\", \"scale\": \"xscale\", \"tickCount\": 20},\n    {\"orient\": \"left\", \"scale\": \"yscale\"}\n  ],\n\n  \"marks\": [\n    {\n      \"type\": \"area\",\n      \"from\": {\"data\": \"table\"},\n      \"encode\": {\n        \"enter\": {\n          \"x\": {\"scale\": \"xscale\", \"field\": \"u\"},\n          \"y\": {\"scale\": \"yscale\", \"field\": \"v\"},\n          \"y2\": {\"scale\": \"yscale\", \"value\": 0},\n          \"fill\": {\"value\": \"steelblue\"}\n        },\n        \"update\": {\n          \"interpolate\": {\"signal\": \"interpolate\"},\n          \"fillOpacity\": {\"value\": 1}\n        },\n        \"hover\": {\n          \"fillOpacity\": {\"value\": 0.5}\n        }\n      }\n    }\n  ]\n}\n```\n\n## SVGBob\n\n\n``` {.dgram converter=Svgbob}\n o-\u003e  Quick logo scribbles\n        .---.                      _\n       /-o-/--       .--.         |-|               .--.\n    .-/ / /-\u003e       /--. \\     .--)-|    .--.-.    //.-.\\\n   ( *  \\/         / O  )|     |  |-|    |-\u003e| |   (+(-*-))\n    '-.  \\        /\\ |-//      .  * |    '--'-'    \\\\'-'/\n       \\ /        \\ '+'/        \\__/                '--'\n        '          '--'\n```\n\n# References\n\n---\nreferences:\n- id: nixosWebsite\n  author: NixOS Community\n  title: Main Website\n  url: https://nixos.org\n  type: online\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmesch%2Fpandocmax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmmesch%2Fpandocmax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmmesch%2Fpandocmax/lists"}