This product includes software developed by third parties. All components below are under permissive licenses (MIT, BSD-2-Clause, Apache-2.0, MPL-2.0, OFL-1.1); none is copyleft.
Standard license texts: MIT,
BSD-2-Clause,
Apache-2.0,
MPL-2.0.
The OFL requires its text to travel with the fonts, so it is included in full:
licenses/KaTeX-fonts-OFL-1.1.txt.
- Copyright: The Swift Project Authors
- https://github.com/swiftlang/swift-markdown
Pulled in transitively by swift-markdown. Multi-licensed, with several named holders:
- BSD-2-Clause: Copyright (c) 2014, John MacFarlane (cmark core)
- MIT: Copyright (c) 2012, Github, Inc. (buffer); Copyright (c) 2012, Vicent Marti (houdini); Copyright (c) 2008-2009, Björn Höhrmann and Public Software Group (utf8 decoder); Copyright (c) 2015, Karl Dubost (normalization)
- https://github.com/swiftlang/swift-cmark
- Copyright: Knut Sveidqvist and mermaid contributors
- https://github.com/mermaid-js/mermaid
- Bundled verbatim as
Resources/mermaid.min.js(sha256eda3a0ad572bbe69a318c1be0163e8233dd824f3f12939e5168feba207767151, byte-identical to the officialmermaid@10.9.6/dist/mermaid.min.js). Used transiently in an offscreen WebKit view, only on a diagram cache miss.
- Copyright (c) 2013-2020 Khan Academy and other contributors
- https://github.com/KaTeX/KaTeX
- Bundled verbatim as
Resources/katex.min.js(fromkatex@0.17.0/dist/katex.min.js). Used transiently in an offscreen WebKit view, only on a formula cache miss.
Not covered by KaTeX's MIT licence, which is for its code only. Verified by reading the licence field (name ID 13) out of the shipped font binaries; all 20 carry the same notice.
- Copyright (c) 2009-2010, Design Science, Inc. (
www.mathjax.org) - Copyright (c) 2014-2018 Khan Academy (
www.khanacademy.org), with Reserved Font NameKaTeX_* - Derived from MathJax's TeX fonts.
- The 20
KaTeX_*.woff2files are embedded as data: URIs insideResources/katex-inlined.min.css(generated byScripts/build-katex-css.sh) — embedding them is still redistribution, so the full licence ships alongside:licenses/KaTeX-fonts-OFL-1.1.txt, copied into the app bundle too.
That file is mermaid's pre-bundled distribution, so it also contains these projects verbatim. They are listed here because copying the bundle copies them too.
| Library | License | Copyright |
|---|---|---|
| js-yaml | MIT | Vitaly Puzrin and contributors |
| DOMPurify | Apache-2.0 or MPL-2.0 (dual — either may be chosen) | Dr.-Ing. Mario Heiderich, Cure53 |
| KaTeX | MIT | Khan Academy and contributors (code only — mermaid bundles no fonts; ours are listed above) |
| cytoscape.js | MIT | The Cytoscape Consortium |
| dagre / dagre-d3 | MIT | Chris Pettitt and contributors |
| D3 | ISC | Mike Bostock |
Smaller snippets carrying their own notices inside the same bundle:
- Thenable (Promises/A+ shim) — MIT, Copyright (c) 2013-2014 Ralf S. Engelschall
- bezier-easing — MIT, Copyright Gaetan Renaudeau
- Spring physics adapted from Framer.js — MIT, Copyright Koen Bok
Sources/andScripts/contain no copied or ported third-party code (audited by grepping for copyright/provenance markers — no hits).- The app icon (
Resources/AppIcon.icns,Resources/AppIcon-1024.png) is original work. - The only third-party fonts bundled are KaTeX's, above (OFL-1.1). Everything else the reader draws uses the fonts already on the Mac.