Skip to content

Commit

Permalink
Add SVG renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
sonoisa committed Apr 24, 2021
1 parent b307753 commit 9759949
Show file tree
Hide file tree
Showing 11 changed files with 172 additions and 478 deletions.
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ This software is under development.

## Installation instructions

**UNDER CONSTRUCTION**

(ref. test/sample-xyjax-v3.html)
(ref. test/sample-xyjax-v3-chtml.html and test/sample-xyjax-v3-svg.html)

1. Download build/xypic.js. The rest of the files are not necessary for use.

Expand All @@ -41,23 +39,24 @@ This software is under development.
}
};
</script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml-full.js"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.1.4/es5/tex-chtml-full.js"></script>
```


## Present Limitation

- Supported MathJax version:
- 3.1.2
- 3.1.4+
- Supported Renderer:
- CHTML
- (SVG does not work now. But I have a plan to support it.)
- SVG
- Switching between these renderers is currently not supported.

- Accessibility does not work.
**CAUTION**: If Accessibility or Collapsible Math is enabled, XyJax/MathJax will crash.


## For Developpers
## For Developers

**UNDER CONSTRUCTION**

Expand Down
2 changes: 1 addition & 1 deletion build/xypic.js

Large diffs are not rendered by default.

123 changes: 0 additions & 123 deletions components/bin/pack

This file was deleted.

177 changes: 0 additions & 177 deletions components/webpack.common.js

This file was deleted.

2 changes: 1 addition & 1 deletion components/xypic/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/

const webpack = require('webpack');
const PACKAGE = require('../webpack.common.js');
const PACKAGE = require('../../mathjax/components/webpack.common.js');

const package = PACKAGE(
'xypic', // the package to build
Expand Down
Loading

0 comments on commit 9759949

Please sign in to comment.