{"id":17931423,"url":"https://github.com/jeremy-rifkin/markdown-math-gh-compiler","last_synced_at":"2025-08-15T14:31:58.886Z","repository":{"id":57291242,"uuid":"379414652","full_name":"jeremy-rifkin/markdown-math-gh-compiler","owner":"jeremy-rifkin","description":"Compile markdown with latex equations to github friendly markdown with rendered equations.","archived":false,"fork":false,"pushed_at":"2021-12-24T21:42:31.000Z","size":10,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-28T22:08:43.382Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/jeremy-rifkin.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}},"created_at":"2021-06-22T22:20:22.000Z","updated_at":"2022-07-12T05:16:48.000Z","dependencies_parsed_at":"2022-09-01T13:52:39.066Z","dependency_job_id":null,"html_url":"https://github.com/jeremy-rifkin/markdown-math-gh-compiler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremy-rifkin%2Fmarkdown-math-gh-compiler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremy-rifkin%2Fmarkdown-math-gh-compiler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremy-rifkin%2Fmarkdown-math-gh-compiler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jeremy-rifkin%2Fmarkdown-math-gh-compiler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jeremy-rifkin","download_url":"https://codeload.github.com/jeremy-rifkin/markdown-math-gh-compiler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229920921,"owners_count":18144863,"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-10-28T21:21:45.451Z","updated_at":"2024-12-16T07:08:59.947Z","avatar_url":"https://github.com/jeremy-rifkin.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Markdown Math → Github Compiler\n\nGithub markdown does not support latex equations. That's \u003cimg alt=\"\\sum \\beta \\mu l | s h | \\tau\" src=\"https://render.githubusercontent.com/render/math?math=%5Csum%20%5Cbeta%20%5Cmu%20l%20%7C%20s%20h%20%7C%20%5Ctau\" style=\"transform: translateY(20%);\" /\u003e if you ask\nme (jk, no hard feelings github).\n\nBased off of the findings in this [post](https://gist.github.com/a-rodin/fef3f543412d6e1ec5b6cf55bf197d7b), this is a somewhat hacky (and perhaps over-engineered)\ntool which compiles markdown with math into github-friendly markdown with rendered equations.\n\nIt's designed for use as part of a makefile, github action ([example](.github/workflows/compile_readme.yml)), or similar workflow.\n\nTables are not supported currently. Lists are mostly supported but there a couple kinks with nested\nlists.\n\nThe tool works by reconstructing the tokens returned by a markdown parser, altering only the math\ntoken. This is necessary for robustness, simply matching `$...$` and `$$...$$` might match half-way\nacross the page or in code blocks/inline html and such.\n\n### Usage:\n\n```\nnpm install -g markdown-math-gh-compiler\nmarkdown-math-gh-compiler input.md -o output.md\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremy-rifkin%2Fmarkdown-math-gh-compiler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjeremy-rifkin%2Fmarkdown-math-gh-compiler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjeremy-rifkin%2Fmarkdown-math-gh-compiler/lists"}