{"id":14984364,"url":"https://github.com/nschloe/purple-pi","last_synced_at":"2025-04-10T20:08:53.716Z","repository":{"id":48041859,"uuid":"252225569","full_name":"nschloe/purple-pi","owner":"nschloe","description":":purple_heart: LaTeX math wherever you want","archived":false,"fork":false,"pushed_at":"2023-03-14T16:42:22.000Z","size":638,"stargazers_count":31,"open_issues_count":3,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-24T17:52:44.573Z","etag":null,"topics":["browser-extension","chrome","chrome-extension","google-chrome","javascript","katex","latex","mathjax"],"latest_commit_sha":null,"homepage":"https://chrome.google.com/webstore/detail/purple-pi/ingbbliecffofmmokknelnijicfcgolb","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nschloe.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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},"funding":{"github":"nschloe","ko-fi":"nschloe"}},"created_at":"2020-04-01T16:14:18.000Z","updated_at":"2023-06-24T18:34:43.000Z","dependencies_parsed_at":"2024-06-11T17:21:45.173Z","dependency_job_id":null,"html_url":"https://github.com/nschloe/purple-pi","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nschloe%2Fpurple-pi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nschloe%2Fpurple-pi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nschloe%2Fpurple-pi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nschloe%2Fpurple-pi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nschloe","download_url":"https://codeload.github.com/nschloe/purple-pi/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248288351,"owners_count":21078903,"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":["browser-extension","chrome","chrome-extension","google-chrome","javascript","katex","latex","mathjax"],"created_at":"2024-09-24T14:08:55.614Z","updated_at":"2025-04-10T20:08:53.687Z","avatar_url":"https://github.com/nschloe.png","language":"JavaScript","funding_links":["https://github.com/sponsors/nschloe","nschloe"],"categories":[],"sub_categories":[],"readme":"### Deprecation\nPurple Pi is no longer maintained. For math and more on GitHub, use the [xhub](https://github.com/nschloe/xhub)\nextension.\n\n---\n\n## Purple Pi\n\n[![Chrome Web Store version](https://img.shields.io/chrome-web-store/v/ingbbliecffofmmokknelnijicfcgolb)](https://chrome.google.com/webstore/detail/purple-pi/ingbbliecffofmmokknelnijicfcgolb)\n[![chrome users](https://img.shields.io/chrome-web-store/users/ingbbliecffofmmokknelnijicfcgolb?label=Chrome%20users\u0026logo=google-chrome\u0026logoColor=white\u0026style=flat-square)](https://chrome.google.com/webstore/detail/purple-pi/ingbbliecffofmmokknelnijicfcgolb)\n\n[![gh-actions](https://img.shields.io/github/workflow/status/nschloe/purple-pi/ci?style=flat-square)](https://github.com/nschloe/purple-pi/actions?query=workflow%3Aci)\n[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)\n\nPurple Pi is a browser extension for Google Chrome that renders LaTeX-style mathematics\non pages that don't otherwise support it. Examples are [GitHub\nREADMEs](https://github.com/nschloe/ndim#the-formulas) and\n[Wikis](https://github.com/nschloe/purple-pi/wiki/Classical-gallery) or [StackOverflow\nposts](https://stackoverflow.com/a/63796209/353337).\n\nSimply install the extension from the\n\n  * [Chrome Web Store](https://chrome.google.com/webstore/detail/purple-pi/ingbbliecffofmmokknelnijicfcgolb)\n\nand enjoy.\n\n#### Cauchy's integral formula\n\nLet $`U`$ be an open subset of the complex plane $`\\mathbb{C}`$, and suppose the closed\ndisk $`D`$ defined as\n```math\nD = \\bigl\\{z:|z-z_{0}|\\leq r\\bigr\\}\n```\nis completely contained in $`U`$. Let $`f: U\\to\\mathbb{C}`$ be a holomorphic function,\nand let $`\\gamma`$ be the circle, oriented counterclockwise, forming the boundary of\n$`D`$.  Then for every $`a`$ in the interior of $`D`$,\n```math\nf(a) = \\frac{1}{2\\pi i} \\oint _{\\gamma}\\frac{f(z)}{z-a} dz.\n```\n\n### Content authors\n\nOn GitHub (READMEs, Wikis, Issues etc.), LaTeX inline and display formulas are supported\nusing native syntax, i.e.:\n````markdown\nSome inline math: $`x\\in R`$.\nSome display-style math:\n```math\ne^i + 1 = 0\n```\n````\n[GitLab](https://docs.gitlab.com/ee/user/markdown.html#math) uses the same syntax.\n\nPurple Pi also runs on pages which contain the _activation link_\n```markdown\nhttps://github.com/nschloe/purple-pi?activate\n```\nYou can then use the classical `$...$` notation for inline and `$$...$$` for\ndisplay math. You can add it as an `\u003ca\u003e` tag\n```\nRendered with \u003ca href=\"https://github.com/nschloe/purple-pi?activate\"\u003ePurple Pi\u003c/a\u003e.\n```\nor as a badge\n```\n[![purple-pi](https://img.shields.io/badge/Rendered%20with-Purple%20Pi-bd00ff?style=flat-square)](https://github.com/nschloe/purple-pi?activate)\n```\nThe extension will then inject [KaTeX](https://katex.org/) into the page.\n\n### Build instructions\n\nTo build the production zip, simply install the dependencies (`npm ci`), then run\n```\nnpm run build\n```\n\n### Development\n```\nnpm ci\nnpm run watch\n```\nThe unpacked development version of the extension will then be in `dist/`. Open Google\nChrome, go to `chrome://extensions` and `Load unpacked` this directory. Reload as\nnecessary.\n\n\n#### Not working\n\n * Not working on mobile. (No extensions there.)\n * [No extension works on the Chrome Web Store itself](https://stackoverflow.com/q/11613371/353337)\n\n\n### Related projects\n\n * [Boris Gromov's Wikipedia with MathJax](https://github.com/bgromov/wiki-mathjax)\n * [Or Sharir's MathJax Plugin for Github](https://github.com/orsharir/github-mathjax)\n * [Ellis Michael's TeX All the Things](https://github.com/emichael/texthings)\n * [Aaron Choo's KaTeX GitHub Chrome Extension](https://github.com/AaronCQL/katex-github-chrome-extension)\n\n\n### License\nThis software is published under the [GPLv3 license](https://www.gnu.org/licenses/gpl-3.0.en.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnschloe%2Fpurple-pi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnschloe%2Fpurple-pi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnschloe%2Fpurple-pi/lists"}