first commit

This commit is contained in:
2025-12-22 12:20:15 +08:00
commit d77a09bdaa
1027 changed files with 54150 additions and 0 deletions

2
mathjax/.github/FUNDING.yml vendored Normal file
View File

@@ -0,0 +1,2 @@
github: [numfocus]
custom: ['https://numfocus.org/donate-to-mathjax']

View File

@@ -0,0 +1,54 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''
---
**Replace the text below with the details of the issue you are facing.
DO NOT simply erase the form and type a free-form response.**
-----
### Issue Summary
A summary of the issue and the browser/OS environment in which it occurs. If
suitable, include the steps required to reproduce the bug.
### Steps to Reproduce:
1. This is the first step
2. This is the second step
3. Further steps, etc.
Any other information you want to share that is relevant to the issue
being reported. Especially, why do you consider this to be a bug? What
do you expect to happen instead?
### Technical details:
* MathJax Version: 3.2
* Client OS: (e.g., Mac OS X 10.8.4)
* Browser: (e.g., Chrome 29.0.1547.57)
I am using the following MathJax configuration:
``` js
MathJax = {
...
};
```
and loading MathJax via
``` html
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
```
### Supporting information:
* Please supply a link to a (live) minimal example page, when possible.
* If your issue is with the display of the mathematics produced by MathJax, include a screen snapshot that illustrates the problem, when possible.
* Check your browser console window for any error messages, and include them here.
* Include the MathJax configuration you are using, and the script tag that loads MathJax itself.

View File

@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.
**Additional context**
Add any other context or screenshots about the feature request here.

34
mathjax/.github/workflows/publish.yml vendored Normal file
View File

@@ -0,0 +1,34 @@
name: Release
on:
release:
types: [published]
jobs:
setup:
runs-on: ubuntu-latest
name: Build and publish MathJax
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 10
run_install: false
registry-url: 'https://registry.npmjs.org'
- name: Temp fix to publish
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
echo "always-auth=true" >> ~/.npmrc
- name: Publish to npmjs
run: pnpm publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}